[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [purpose] /: purposeprocess should be a nongui executable
From:       René J.V. Bertin <null () kde ! org>
Date:       2016-12-31 19:27:54
Message-ID: E1cNPJq-0008Ro-6T () code ! kde ! org
[Download RAW message or body]

Git commit 3b558384a367ad1a9005ae00a9b53f1a922520fc by René J.V. Bertin.
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 helper.cpp)
+ecm_mark_nongui_executable(purposeprocess)
 target_link_libraries(purposeprocess KF5::Purpose Qt5::Network Qt5::Widgets)
 install(TARGETS purposeprocess DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF5})
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic