diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 17:35:07 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 21:20:17 +0100 |
commit | 41cb814d3d1382ffef39411fd94da215fab2b518 (patch) | |
tree | 9a5c6951030f13717b78caa71600f64a36fff702 /examples/wayland/multi-output/CMakeLists.txt | |
parent | e89fa56d822cbc96951b60821b85794f3832d620 (diff) |
CMake: Regenerate examples to set the WIN32_EXECUTABLE property
As well as the MACOSX_BUNDLE properties as necessary.
Task-number: QTBUG-87664
Change-Id: I2e238dff7bdda6c47dfbe28e2a560ee4c25f3d02
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/wayland/multi-output/CMakeLists.txt')
-rw-r--r-- | examples/wayland/multi-output/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/wayland/multi-output/CMakeLists.txt b/examples/wayland/multi-output/CMakeLists.txt index 56274057f..2f4019f69 100644 --- a/examples/wayland/multi-output/CMakeLists.txt +++ b/examples/wayland/multi-output/CMakeLists.txt @@ -22,6 +22,10 @@ find_package(Qt6 COMPONENTS Qml) qt_add_executable(multi-output main.cpp ) +set_target_properties(multi-output PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(multi-output PUBLIC Qt::Core Qt::Gui |