diff options
| author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2016-02-09 12:20:54 +0000 |
|---|---|---|
| committer | CI Train Bot <ci-train-bot@canonical.com> | 2016-02-09 12:20:54 +0000 |
| commit | 02ff690067646b495d7a50fc66b150906375dc27 (patch) | |
| tree | c3df0de0a866735f288aaa7a38ed3cac73571329 /services | |
| parent | 62983e01eb5d12e19b57f1c3ceeb843f0edbd72b (diff) | |
| parent | 91bf76fa056b987cb56e29d628f12cc0855add83 (diff) | |
CMake: use GNUInstallDirs with native multi-arch support
We can now use CMAKE_INSTALL_*DIR instead of defining them manually. Also disable networkarea region plugin build by default. Fixes: #1485668, #1508635 Approved by: Andrea Azzarone (bzr r4072)
Diffstat (limited to 'services')
| -rw-r--r-- | services/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | services/unity-panel-service-lockscreen.conf.in | 2 | ||||
| -rw-r--r-- | services/unity-panel-service.conf.in | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/services/CMakeLists.txt b/services/CMakeLists.txt index b80ec71ba..13a61716b 100644 --- a/services/CMakeLists.txt +++ b/services/CMakeLists.txt @@ -51,10 +51,10 @@ link_directories(${LIB_PATHS}) add_executable(unity-panel-service ${PANEL_SOURCES}) target_link_libraries(unity-panel-service ${LIBS}) -install(TARGETS unity-panel-service DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/unity/) +install(TARGETS unity-panel-service DESTINATION ${CMAKE_INSTALL_LIBDIR}/unity/) configure_file(unity-panel-service.conf.in ${CMAKE_CURRENT_BINARY_DIR}/unity-panel-service.conf) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/unity-panel-service.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/share/upstart/sessions) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/unity-panel-service.conf DESTINATION ${CMAKE_INSTALL_DATADIR}/upstart/sessions) configure_file(unity-panel-service-lockscreen.conf.in ${CMAKE_CURRENT_BINARY_DIR}/unity-panel-service-lockscreen.conf) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/unity-panel-service-lockscreen.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/share/upstart/sessions) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/unity-panel-service-lockscreen.conf DESTINATION ${CMAKE_INSTALL_DATADIR}/upstart/sessions) diff --git a/services/unity-panel-service-lockscreen.conf.in b/services/unity-panel-service-lockscreen.conf.in index b6a3cb600..b9255d825 100644 --- a/services/unity-panel-service-lockscreen.conf.in +++ b/services/unity-panel-service-lockscreen.conf.in @@ -5,4 +5,4 @@ start on desktop-lock stop on desktop-unlock respawn -exec ${CMAKE_INSTALL_PREFIX}/lib/unity/unity-panel-service --lockscreen-mode \ No newline at end of file +exec ${CMAKE_INSTALL_FULL_LIBDIR}/unity/unity-panel-service --lockscreen-mode diff --git a/services/unity-panel-service.conf.in b/services/unity-panel-service.conf.in index 742e39b1f..62712f833 100644 --- a/services/unity-panel-service.conf.in +++ b/services/unity-panel-service.conf.in @@ -15,4 +15,4 @@ emits indicator-services-start emits indicator-services-end respawn -exec ${CMAKE_INSTALL_PREFIX}/lib/unity/unity-panel-service +exec ${CMAKE_INSTALL_FULL_LIBDIR}/unity/unity-panel-service |
