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

List:       kde-commits
Subject:    [kservice] src/kbuildsycoca: Mark kbuildsycoca5 as non-gui app
From:       Harald Fernengel <harry () kdevelop ! org>
Date:       2014-02-13 18:49:26
Message-ID: E1WE1Li-0005GP-VW () scm ! kde ! org
[Download RAW message or body]

Git commit 317752da52840a2ddd372132b91e8a10ddd99d8e by Harald Fernengel.
Committed on 13/02/2014 at 18:49.
Pushed by harald into branch 'master'.

Mark kbuildsycoca5 as non-gui app

So it won't create an entry in /Applications/KDE5 on Mac OS X

M  +5    -0    src/kbuildsycoca/CMakeLists.txt

http://commits.kde.org/kservice/317752da52840a2ddd372132b91e8a10ddd99d8e

diff --git a/src/kbuildsycoca/CMakeLists.txt b/src/kbuildsycoca/CMakeLists.=
txt
index ff2d3b6..9ea2d46 100644
--- a/src/kbuildsycoca/CMakeLists.txt
+++ b/src/kbuildsycoca/CMakeLists.txt
@@ -1,3 +1,5 @@
+include(ECMMarkNonGuiExecutable)
+
 set(kbuildsycoca_SRCS
    kbuildsycoca.cpp
    kbuildmimetypefactory.cpp
@@ -12,6 +14,9 @@ set(kbuildsycoca_SRCS
 # We need to add a '5' so that kde3/kde4 apps running kbuildsycoca don't r=
un the kde4 one.
 add_executable( kbuildsycoca5 ${kbuildsycoca_SRCS})
 =

+# Mark it as non-gui so we won't create an app bundle on Mac OS X
+ecm_mark_nongui_executable(kbuildsycoca5)
+
 target_link_libraries(kbuildsycoca5
    KF5::Service #KBuildMimeTypeFactory subclasses KMimeTypeFactory, KServi=
ceGroupFactory and KService used as well
    KF5::Crash  #set a crash handler for ksycoca binary
[prev in list] [next in list] [prev in thread] [next in thread] 

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