From 5f01d47d7d1e9a7d6a4dc5d4b4f65294c74245e1 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 3 Oct 2006 14:03:16 -0400 Subject: BUG: fix #3827, the name of the var is _tmp_FILE instead of tmp_FILE, so the dcop stuff should work now Alex --- Modules/KDE3Macros.cmake | 7 ++++--- 1 file 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) -- cgit v0.12