From d53cf39a20d3f3f23883ca9a6b154041ee094a8d Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Mon, 24 Mar 2014 15:54:45 +0000 Subject: Export the location of kconf_update in CMake This is for the benefit of kded, which needs to run this binary. REVIEW: 117023 --- src/kconf_update/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/kconf_update/CMakeLists.txt b/src/kconf_update/CMakeLists.txt index e4e37ba9..903f1971 100644 --- a/src/kconf_update/CMakeLists.txt +++ b/src/kconf_update/CMakeLists.txt @@ -12,6 +12,9 @@ set(kconf_update_SRCS ) add_executable(kconf_update ${kconf_update_SRCS}) +add_executable(KF5::kconf_update ALIAS kconf_update) target_link_libraries(kconf_update Qt5::Core KF5::ConfigCore) -install(TARGETS kconf_update DESTINATION ${LIBEXEC_INSTALL_DIR}) +# Although this is mostly an internal binary (hence installing it in +# LIBEXEC_INSTALL_DIR), it is used by kded, and so we export its location +install(TARGETS kconf_update EXPORT KF5ConfigTargets DESTINATION ${LIBEXEC_INSTALL_DIR}) -- cgit v1.2.1