From kde-commits Sat Dec 31 19:27:54 2016 From: =?utf-8?b?UmVuw6kgSi5WLiBCZXJ0aW4=?= Date: Sat, 31 Dec 2016 19:27:54 +0000 To: kde-commits Subject: [purpose] /: purposeprocess should be a nongui executable Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=148321248209159 Git commit 3b558384a367ad1a9005ae00a9b53f1a922520fc by Ren=C3=A9 J.V. Berti= n. Committed on 31/12/2016 at 19:25. Pushed by rjvbb into branch 'master'. purposeprocess should be a nongui executable Mark purposeprocess as a nongui executable to prevent building it as an app bundle on Mac. BUG: 374351 M +1 -0 CMakeLists.txt M +1 -0 src/CMakeLists.txt https://commits.kde.org/purpose/3b558384a367ad1a9005ae00a9b53f1a922520fc diff --git a/CMakeLists.txt b/CMakeLists.txt index f486b1a..4a3598a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,7 @@ include(ECMSetupVersion) include(ECMAddTests) include(ECMInstallIcons) include(ECMGenerateHeaders) +include(ECMMarkNonGuiExecutable) = set(KF5_VERSION "5.8.0") # handled by release scripts set(KF5_DEP_VERSION "5.7.0") # handled by release scripts diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bb7f689..ff4cff4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -48,6 +48,7 @@ install(FILES ) = add_executable(purposeprocess externalprocess/purposeprocess_main.cpp help= er.cpp) +ecm_mark_nongui_executable(purposeprocess) target_link_libraries(purposeprocess KF5::Purpose Qt5::Network Qt5::Widget= s) install(TARGETS purposeprocess DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF5}) =20