From 20d5e2d7efd458671e2830e94cd8bc30e14361e5 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 26 Oct 2020 17:09:47 +0100 Subject: 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 --- examples/quick/positioners/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/quick/positioners') diff --git a/examples/quick/positioners/CMakeLists.txt b/examples/quick/positioners/CMakeLists.txt index 2b0bf2a2c3..07205cbfa5 100644 --- a/examples/quick/positioners/CMakeLists.txt +++ b/examples/quick/positioners/CMakeLists.txt @@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml) qt_add_executable(positioners main.cpp ) +set_target_properties(positioners PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(positioners PUBLIC Qt::Core Qt::Gui -- cgit v1.2.3