]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
cmake: Use non-deprecated install mechanism for d-d-launch-helper
authorSimon McVittie <smcv@collabora.com>
Mon, 22 Oct 2018 09:15:44 +0000 (10:15 +0100)
committerSimon McVittie <smcv@collabora.com>
Thu, 25 Oct 2018 16:04:04 +0000 (16:04 +0000)
As suggested by Ralf Habacker on !9.

Signed-off-by: Simon McVittie <smcv@collabora.com>
cmake/bus/CMakeLists.txt

index 5bba0aef3e03f1753186d16b2364f0402826704c..3168ad2ee2fa995f98fe351dd5a15271f0d50fb0 100644 (file)
@@ -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)