From d60ebdda33f112bc0bcf619a1307250710f7e8d5 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 26 Oct 2020 17:34:34 +0100 Subject: CMake: Regenerate examples to set the WIN32_EXECUTABLE property As well as the MACOSX_BUNDLE properties as necessary. Task-number: QTBUG-87664 Change-Id: I26917656f6f2b653649765ebbea4e3f348b22ae7 Reviewed-by: Joerg Bornemann --- examples/help/contextsensitivehelp/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/help') diff --git a/examples/help/contextsensitivehelp/CMakeLists.txt b/examples/help/contextsensitivehelp/CMakeLists.txt index 4ad106c40..40d89a3e4 100644 --- a/examples/help/contextsensitivehelp/CMakeLists.txt +++ b/examples/help/contextsensitivehelp/CMakeLists.txt @@ -25,6 +25,10 @@ qt_add_executable(contextsensitivehelp main.cpp wateringconfigdialog.cpp wateringconfigdialog.h wateringconfigdialog.ui ) +set_target_properties(contextsensitivehelp PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(contextsensitivehelp PUBLIC Qt::Core Qt::Gui -- cgit v1.2.3