From e1ad9a6192d1e2be6fcb17c8a1e961104d921752 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Mon, 24 Mar 2014 16:02:14 +0000 Subject: Use the full path for kconf_update when running it It is not on $PATH, so we cannot just expect QProcess to find it. REVIEW: 117023 --- src/core/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/CMakeLists.txt') diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 4e13ee5a..0b1136bc 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -19,6 +19,11 @@ add_library(KF5ConfigCore ${libkconfigcore_SRCS}) generate_export_header(KF5ConfigCore BASE_NAME KConfigCore) add_library(KF5::ConfigCore ALIAS KF5ConfigCore) +target_compile_definitions(KF5ConfigCore + PRIVATE + KCONF_UPDATE_INSTALL_LOCATION="${CMAKE_INSTALL_PREFIX}/${LIBEXEC_INSTALL_DIR}/$" +) + target_include_directories(KF5ConfigCore INTERFACE "$") target_link_libraries(KF5ConfigCore PUBLIC Qt5::Core) -- cgit v1.2.1