diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 17:09:47 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 23:38:39 +0100 |
commit | 20d5e2d7efd458671e2830e94cd8bc30e14361e5 (patch) | |
tree | b0cfe10bb101ee56eb1c2c4d0750fc33819aa324 /examples/quick/scenegraph/customgeometry | |
parent | 880b937b6c67df35eea46cec9f4580dc79e21a99 (diff) |
CMake: Regenerate examples to set the WIN32_EXECUTABLE property
As well as the MACOSX_BUNDLE properties as necessary.
Task-number: QTBUG-87664
Task-number: QTBUG-86827
Change-Id: I46769fb543acb2cbeba122470b5e44ad478fbe4e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/customgeometry')
-rw-r--r-- | examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/quick/scenegraph/customgeometry/CMakeLists.txt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt b/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt index b4f77372de..28613e67a3 100644 --- a/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt +++ b/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(customgeometry beziercurve.cpp beziercurve.h main.cpp ) +set_target_properties(customgeometry PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(customgeometry PUBLIC Qt::Core Qt::Gui diff --git a/examples/quick/scenegraph/customgeometry/CMakeLists.txt b/examples/quick/scenegraph/customgeometry/CMakeLists.txt index c9a49a4752..0e54c00d24 100644 --- a/examples/quick/scenegraph/customgeometry/CMakeLists.txt +++ b/examples/quick/scenegraph/customgeometry/CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(customgeometry_declarative # special case beziercurve.cpp beziercurve.h main.cpp ) +set_target_properties(customgeometry_declarative PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(customgeometry_declarative PUBLIC # special case Qt::Core Qt::Gui |