qt5base-lts/tests/manual/embeddedwindows/CMakeLists.txt
Tor Arne Vestbø 3cb3c1d9a8 xcb: Implement native window helper for embeddedwindows/foreign window test
Pick-to: 6.6
Change-Id: I73720f8f49a5d7e5df7c95bf4b17ef910180e01c
Reviewed-by: Liang Qi <liang.qi@qt.io>
2023-09-12 02:47:24 +02:00

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()