summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-10-03 18:03:16 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2006-10-03 18:03:16 (GMT)
commit5f01d47d7d1e9a7d6a4dc5d4b4f65294c74245e1 (patch)
tree0fc35c63b0220cfbf04531b3753f516f7e3670ae
parent2e7aef7422f6f6e4d8194f1e04d33f7253f8e948 (diff)
downloadCMake-5f01d47d7d1e9a7d6a4dc5d4b4f65294c74245e1.zip
CMake-5f01d47d7d1e9a7d6a4dc5d4b4f65294c74245e1.tar.gz
CMake-5f01d47d7d1e9a7d6a4dc5d4b4f65294c74245e1.tar.bz2
BUG: fix #3827, the name of the var is _tmp_FILE instead of tmp_FILE, so the
dcop stuff should work now Alex
-rw-r--r--Modules/KDE3Macros.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/KDE3Macros.cmake b/Modules/KDE3Macros.cmake
index 4caf07d..6866fe2 100644
--- a/Modules/KDE3Macros.cmake
+++ b/Modules/KDE3Macros.cmake
@@ -36,9 +36,10 @@ MACRO(KDE3_ADD_DCOP_SKELS _sources)
ADD_CUSTOM_COMMAND(OUTPUT ${_kidl}
COMMAND ${KDE3_DCOPIDL_EXECUTABLE}
- ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${_current_FILE} > ${_kidl}
+ ARGS ${_tmp_FILE} > ${_kidl}
DEPENDS ${_tmp_FILE}
)
+
ENDIF (NOT HAVE_${_basename}_KIDL_RULE)
IF (NOT HAVE_${_basename}_SKEL_RULE)
@@ -75,8 +76,8 @@ MACRO(KDE3_ADD_DCOP_STUBS _sources)
ADD_CUSTOM_COMMAND(OUTPUT ${_kidl}
COMMAND ${KDE3_DCOPIDL_EXECUTABLE}
- ARGS ${tmp_FILE} > ${_kidl}
- DEPENDS ${tmp_FILE}
+ ARGS ${_tmp_FILE} > ${_kidl}
+ DEPENDS ${_tmp_FILE}
)
ENDIF (NOT HAVE_${_basename}_KIDL_RULE)