From 80a76df1784a135fa1d86ac88f8c4d2dc6bf8c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Wed, 8 Dec 2021 17:25:35 +0100 Subject: Examples: Fix whitespace issues in CMakeLists.txt Pick-to: 6.3 Change-Id: I8e6dd1f250f8be6016ee4164cb2ab7034cbb1203 Reviewed-by: Alexandru Croitor --- examples/qtconcurrent/progressdialog/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples/qtconcurrent/progressdialog') diff --git a/examples/qtconcurrent/progressdialog/CMakeLists.txt b/examples/qtconcurrent/progressdialog/CMakeLists.txt index 1a4f3b1440..3efe2fc6c8 100644 --- a/examples/qtconcurrent/progressdialog/CMakeLists.txt +++ b/examples/qtconcurrent/progressdialog/CMakeLists.txt @@ -8,7 +8,7 @@ set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") + set(INSTALL_EXAMPLESDIR "examples") endif() set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qtconcurrent/progressdialog") @@ -18,10 +18,12 @@ find_package(Qt6 REQUIRED COMPONENTS Concurrent Core Gui Widgets) qt_add_executable(progressdialog main.cpp ) + set_target_properties(progressdialog PROPERTIES WIN32_EXECUTABLE FALSE MACOSX_BUNDLE TRUE ) + target_link_libraries(progressdialog PUBLIC Qt::Concurrent Qt::Core -- cgit v1.2.3