summaryrefslogtreecommitdiffstats
path: root/examples/corelib/threads/semaphores
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-12-08 17:25:35 +0100
committerKai Koehne <kai.koehne@qt.io>2021-12-16 10:56:47 +0000
commit8df7ae768e85cd76b3ac53700d3fdeebf6453a7b (patch)
tree9c0ca7cfb20373c3aa3db212a8c9fdb4fab03aa4 /examples/corelib/threads/semaphores
parentfa0faf4c9ca1a0c8dda248a2502604e16eee8081 (diff)
Examples: Fix whitespace issues in CMakeLists.txt
Change-Id: I8e6dd1f250f8be6016ee4164cb2ab7034cbb1203 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 80a76df1784a135fa1d86ac88f8c4d2dc6bf8c35)
Diffstat (limited to 'examples/corelib/threads/semaphores')
-rw-r--r--examples/corelib/threads/semaphores/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/corelib/threads/semaphores/CMakeLists.txt b/examples/corelib/threads/semaphores/CMakeLists.txt
index 2268b1ce98..f5206dabc9 100644
--- a/examples/corelib/threads/semaphores/CMakeLists.txt
+++ b/examples/corelib/threads/semaphores/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}/corelib/threads/semaphores")
@@ -18,10 +18,12 @@ find_package(Qt6 REQUIRED COMPONENTS Core)
qt_add_executable(semaphores
semaphores.cpp
)
+
set_target_properties(semaphores PROPERTIES
WIN32_EXECUTABLE FALSE
MACOSX_BUNDLE FALSE
)
+
target_link_libraries(semaphores PUBLIC
Qt::Core
)