From 397b3725176780d8888f8499cac0127dbb7df2c7 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 26 Oct 2020 16:22:32 +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: I7677449a26d51fa853bd67bab6b3b61afbd2b12f Reviewed-by: Joerg Bornemann --- examples/xml/xmlstreamlint/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/xml/xmlstreamlint/CMakeLists.txt') diff --git a/examples/xml/xmlstreamlint/CMakeLists.txt b/examples/xml/xmlstreamlint/CMakeLists.txt index 0642344892..8f3a02826b 100644 --- a/examples/xml/xmlstreamlint/CMakeLists.txt +++ b/examples/xml/xmlstreamlint/CMakeLists.txt @@ -20,6 +20,10 @@ find_package(Qt6 COMPONENTS Core Xml) # special case qt_add_executable(xmlstreamlint main.cpp ) +set_target_properties(xmlstreamlint PROPERTIES + WIN32_EXECUTABLE FALSE + MACOSX_BUNDLE FALSE +) target_link_libraries(xmlstreamlint PUBLIC Qt::Core Qt::Xml # special case: add -- cgit v1.2.3