aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-20 17:31:07 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-06-20 17:31:07 -0500
commit6def7fceae5ea55e6d44ede05146f6a95add317c (patch)
treedba817e06dd9cb1a367b0cf4c4a2dd902ad34862 /src
parenta5fb857ee48a9022eb1e6c9ea04e0aeff80f445b (diff)
downloadayatana-indicator-session-6def7fceae5ea55e6d44ede05146f6a95add317c.tar.gz
ayatana-indicator-session-6def7fceae5ea55e6d44ede05146f6a95add317c.tar.bz2
ayatana-indicator-session-6def7fceae5ea55e6d44ede05146f6a95add317c.zip
install .schema.xml and indicator-session-service in the right places.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index efa704c..7b65629 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -14,6 +14,7 @@ set_target_properties (libindicatorsessionservice PROPERTIES COMPILE_FLAGS " -g
include_directories(${SERVICE_INCLUDE_DIRS})
link_directories(${SERVICE_LIBRARY_DIRS})
-add_executable (indicator-session-service main.c)
-target_link_libraries (indicator-session-service libindicatorsessionservice backenddbus ${SERVICE_LIBRARIES} ${GCOV_LIBS})
-
+set (SERVICE_EXEC "indicator-session-service")
+add_executable (${SERVICE_EXEC} main.c)
+target_link_libraries (${SERVICE_EXEC} libindicatorsessionservice backenddbus ${SERVICE_LIBRARIES} ${GCOV_LIBS})
+install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${PROJECT_LIBEXECDIR})