diff options
author | Alex Merry <alex.merry@kde.org> | 2014-03-24 15:54:45 +0000 |
---|---|---|
committer | Alex Merry <alex.merry@kde.org> | 2014-03-25 10:21:26 +0000 |
commit | d53cf39a20d3f3f23883ca9a6b154041ee094a8d (patch) | |
tree | 6f9fb1c34c877e3a8e9ab01ea990a4cf22bccc3e | |
parent | c8f3b3684e42d5b1e788642863782741703acbd2 (diff) | |
download | kconfig-d53cf39a20d3f3f23883ca9a6b154041ee094a8d.tar.gz kconfig-d53cf39a20d3f3f23883ca9a6b154041ee094a8d.tar.bz2 |
Export the location of kconf_update in CMake
This is for the benefit of kded, which needs to run this binary.
REVIEW: 117023
-rw-r--r-- | src/kconf_update/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
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}) |