diff options
author | Chris Xiong <chirs241097@gmail.com> | 2022-10-02 23:01:45 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2022-10-02 23:01:45 -0400 |
commit | cf4034366bccf912bad0d615954498c927c52a75 (patch) | |
tree | 81b2ec0a37ce5241ea780741630714fc88392d19 | |
parent | ef54e3d70b8c7ee41febf257b77252eee3d53ae4 (diff) | |
download | deduper-cf4034366bccf912bad0d615954498c927c52a75.tar.xz |
Set WIN32_EXECUTABLE for windows.
-rw-r--r-- | qdeduper/CMakeLists.txt | 6 |
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() |