3cb3c1d9a8
Pick-to: 6.6 Change-Id: I73720f8f49a5d7e5df7c95bf4b17ef910180e01c Reviewed-by: Liang Qi <liang.qi@qt.io>
20 lines
469 B
CMake
20 lines
469 B
CMake
# Copyright (C) 2023 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
qt_internal_add_manual_test(embeddedwindows
|
|
SOURCES
|
|
main.cpp
|
|
LIBRARIES
|
|
Qt::Gui
|
|
)
|
|
|
|
if(QT_FEATURE_xcb)
|
|
target_link_libraries(embeddedwindows PRIVATE XCB::XCB)
|
|
endif()
|
|
|
|
if(APPLE)
|
|
enable_language(OBJCXX)
|
|
set_source_files_properties(main.cpp PROPERTIES LANGUAGE OBJCXX)
|
|
set_property(TARGET embeddedwindows PROPERTY PROPERTY MACOSX_BUNDLE TRUE)
|
|
endif()
|