aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qdeduper/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/qdeduper/CMakeLists.txt b/qdeduper/CMakeLists.txt
index 3adc4ba..95bcbff 100644
--- a/qdeduper/CMakeLists.txt
+++ b/qdeduper/CMakeLists.txt
@@ -33,7 +33,7 @@ target_link_libraries(qdeduper
xsig
)
-if (QDEDUPER_USE_QT6)
+if(QDEDUPER_USE_QT6)
target_link_libraries(qdeduper Qt6::Widgets Qt6::Concurrent)
if(Qt6DBus_FOUND)
target_link_libraries(qdeduper Qt6::DBus)
@@ -44,3 +44,7 @@ else()
target_link_libraries(qdeduper Qt5::DBus)
endif()
endif()
+
+if(WIN32)
+ set_property(TARGET qdeduper PROPERTY WIN32_EXECUTABLE True)
+endif()