summaryrefslogtreecommitdiff
path: root/cmake/bus
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2018-10-22 10:20:37 +0100
committerSimon McVittie <smcv@collabora.com>2018-10-25 16:04:04 +0000
commit84aa8c99341670100f8399951d31de403a47a0c3 (patch)
treeff978a0c51294c2bf0f4640b3166155d77a8bc0c /cmake/bus
parentef1f53eed87a15010192e2ecfe1c0cdf76c39dde (diff)
downloaddbus-84aa8c99341670100f8399951d31de403a47a0c3.tar.gz
cmake: Install d-d-launch-helper to ${CMAKE_INSTALL_LIBEXECDIR}
Instead of hard-coding the lib subdirectory of the installation prefix, use the ${CMAKE_INSTALL_LIBEXECDIR} provided by the GNUInstallDirs module, which defaults to the libexec subdirectory of the installation prefix. This is consistent with the Autotools build system, which installs to ${exec_prefix}/libexec unless modified with --libexecdir. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'cmake/bus')
-rw-r--r--cmake/bus/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/bus/CMakeLists.txt b/cmake/bus/CMakeLists.txt
index 3168ad2e..a9b681d4 100644
--- a/cmake/bus/CMakeLists.txt
+++ b/cmake/bus/CMakeLists.txt
@@ -148,7 +148,7 @@ set(LAUNCH_HELPER_SOURCES
if(NOT WIN32)
add_executable(dbus-daemon-launch-helper ${LAUNCH_HELPER_SOURCES} ${BUS_DIR}/activation-helper-bin.c )
target_link_libraries(dbus-daemon-launch-helper ${DBUS_INTERNAL_LIBRARIES} ${EXPAT_LIBRARIES} )
- install(TARGETS dbus-daemon-launch-helper ${INSTALL_TARGETS_DEFAULT_ARGS} RUNTIME DESTINATION lib)
+ install(TARGETS dbus-daemon-launch-helper ${INSTALL_TARGETS_DEFAULT_ARGS} RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR})
endif(NOT WIN32)
if (DBUS_ENABLE_EMBEDDED_TESTS)