From: Simon McVittie Date: Mon, 22 Oct 2018 09:15:44 +0000 (+0100) Subject: cmake: Use non-deprecated install mechanism for d-d-launch-helper X-Git-Tag: dbus-1.13.8~41^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef1f53eed87a15010192e2ecfe1c0cdf76c39dde;p=thirdparty%2Fdbus.git cmake: Use non-deprecated install mechanism for d-d-launch-helper As suggested by Ralf Habacker on !9. Signed-off-by: Simon McVittie --- diff --git a/cmake/bus/CMakeLists.txt b/cmake/bus/CMakeLists.txt index 5bba0aef3..3168ad2ee 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)