diff options
Diffstat (limited to 'kde-modules')
-rw-r--r-- | kde-modules/KDECMakeSettings.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kde-modules/KDECMakeSettings.cmake b/kde-modules/KDECMakeSettings.cmake index 9f38054a..efbfcfa7 100644 --- a/kde-modules/KDECMakeSettings.cmake +++ b/kde-modules/KDECMakeSettings.cmake @@ -94,6 +94,12 @@ if(NOT KDE_SKIP_BUILD_SETTINGS) unset(ARCHIVE_OUTPUT_DIRECTORY) unset(LIBRARY_OUTPUT_DIRECTORY) unset(RUNTIME_OUTPUT_DIRECTORY) + + # By default, create 'GUI' executables. This can be reverted on a per-target basis + # using ECMMarkNonGuiExecutable + set(CMAKE_WIN32_EXECUTABLE ON) + set(CMAKE_MACOSX_BUNDLE ON) + # under Windows, generate all executables and libraries into # one common directory, so the executables find their dlls if(WIN32) |