diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 17:28:09 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 21:19:52 +0100 |
commit | 07b7d54679a361c377abb6a89f2cc4d2a8ae36ec (patch) | |
tree | 81def71ac0ab148e2bed4e21db947c6dbfe8ed42 /examples/demos/clocks | |
parent | 01b88573eb4df718202d26fe3d61b8306a8b14de (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: I474b13a0a78a33fff1d06b283a88b0c33a7dd524
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/demos/clocks')
-rw-r--r-- | examples/demos/clocks/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/demos/clocks/CMakeLists.txt b/examples/demos/clocks/CMakeLists.txt index d449f510e..e3eff1786 100644 --- a/examples/demos/clocks/CMakeLists.txt +++ b/examples/demos/clocks/CMakeLists.txt @@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick) qt_add_executable(clocks main.cpp ) +set_target_properties(clocks PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(clocks PUBLIC Qt::Core Qt::Gui |