From cf4034366bccf912bad0d615954498c927c52a75 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 2 Oct 2022 23:01:45 -0400 Subject: Set WIN32_EXECUTABLE for windows. --- qdeduper/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3