aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-03-18 18:36:39 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-03-18 18:36:39 +0000
commitaf8adb651822d2383024655a3ecb6436495461e6 (patch)
tree4b8518179134fcb0094a4fb214c4e6554d42ed3c
parentd7ac18a0704fbc236fa572a9e21b82de7177fa7b (diff)
downloadextra-cmake-modules-af8adb651822d2383024655a3ecb6436495461e6.tar.gz
extra-cmake-modules-af8adb651822d2383024655a3ecb6436495461e6.tar.bz2
generate the files in CURRENT_BINARY_DIR again
Alex svn path=/trunk/KDE/kdelibs/; revision=520067
-rw-r--r--modules/KDE4Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake
index 6846dba5..e7d0d643 100644
--- a/modules/KDE4Macros.cmake
+++ b/modules/KDE4Macros.cmake
@@ -116,7 +116,7 @@ MACRO(KDE4_ADD_KCFG_FILES _sources)
# the command for creating the source file from the kcfg file
ADD_CUSTOM_COMMAND(OUTPUT ${_src_FILE}
COMMAND ${KDE4_KCFGC_EXECUTABLE}
- ARGS ${_abs_PATH}/${_kcfg_FILE} ${_tmp_FILE} -d ${_abs_PATH}
+ ARGS ${_abs_PATH}/${_kcfg_FILE} ${_tmp_FILE} -d ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${_tmp_FILE} ${_abs_PATH}/${_kcfg_FILE} ${_KDE4_KCONFIG_COMPILER_DEP} )
# for the case that the header contains signals or slots, it has to be processed by moc