aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2014-04-27 01:53:42 +0200
committerAleix Pol <aleixpol@kde.org>2014-04-27 01:53:42 +0200
commita0c759076bb7f49466871f3e129e62b01d874042 (patch)
tree5a32f9b31edd130fc5f5504e3eb1d7f543508b96
parentfc05d19a809f07ea682aa4d1dab6246d72a256b8 (diff)
downloadkconfig-a0c759076bb7f49466871f3e129e62b01d874042.tar.gz
kconfig-a0c759076bb7f49466871f3e129e62b01d874042.tar.bz2
install libexec executables in the kf5 libexec directory
-rw-r--r--src/core/CMakeLists.txt2
-rw-r--r--src/kconf_update/CMakeLists.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 9d0cdc79..61bda888 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -21,7 +21,7 @@ add_library(KF5::ConfigCore ALIAS KF5ConfigCore)
target_compile_definitions(KF5ConfigCore
PRIVATE
- KCONF_UPDATE_INSTALL_LOCATION="${CMAKE_INSTALL_PREFIX}/${LIBEXEC_INSTALL_DIR}/$<TARGET_FILE_NAME:KF5::kconf_update>"
+ KCONF_UPDATE_INSTALL_LOCATION="${CMAKE_INSTALL_PREFIX}/${KF5_LIBEXEC_INSTALL_DIR}/$<TARGET_FILE_NAME:KF5::kconf_update>"
)
target_include_directories(KF5ConfigCore INTERFACE "$<INSTALL_INTERFACE:${KF5_INCLUDE_INSTALL_DIR}/KConfigCore>")
diff --git a/src/kconf_update/CMakeLists.txt b/src/kconf_update/CMakeLists.txt
index 903f1971..d7ea4605 100644
--- a/src/kconf_update/CMakeLists.txt
+++ b/src/kconf_update/CMakeLists.txt
@@ -16,5 +16,5 @@ add_executable(KF5::kconf_update ALIAS kconf_update)
target_link_libraries(kconf_update Qt5::Core KF5::ConfigCore)
# 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})
+# KF5_LIBEXEC_INSTALL_DIR), it is used by kded, and so we export its location
+install(TARGETS kconf_update EXPORT KF5ConfigTargets DESTINATION ${KF5_LIBEXEC_INSTALL_DIR})