summaryrefslogtreecommitdiff
path: root/cmake/bus
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2018-10-22 10:15:44 +0100
committerSimon McVittie <smcv@collabora.com>2018-10-25 16:04:04 +0000
commitef1f53eed87a15010192e2ecfe1c0cdf76c39dde (patch)
treeca44e2207d4c052cf3d1a4573624b6abe94a23e9 /cmake/bus
parent6ce7f5dd582f99923ac307832aed33faae79adc8 (diff)
downloaddbus-ef1f53eed87a15010192e2ecfe1c0cdf76c39dde.tar.gz
cmake: Use non-deprecated install mechanism for d-d-launch-helper
As suggested by Ralf Habacker on !9. 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 5bba0aef..3168ad2e 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(/lib dbus-daemon-launch-helper)
+ install(TARGETS dbus-daemon-launch-helper ${INSTALL_TARGETS_DEFAULT_ARGS} RUNTIME DESTINATION lib)
endif(NOT WIN32)
if (DBUS_ENABLE_EMBEDDED_TESTS)