diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/KDE4Macros.cmake | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index f9c0566f..05c707d3 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -144,9 +144,8 @@ MACRO (KDE4_ADD_UI_FILES _sources )     foreach (_current_FILE ${ARGN})        GET_FILENAME_COMPONENT(_tmp_FILE ${_current_FILE} ABSOLUTE) -	  GET_FILENAME_COMPONENT(_abs_PATH ${_tmp_FILE} PATH)        GET_FILENAME_COMPONENT(_basename ${_tmp_FILE} NAME_WE) -      set(_header ${_abs_PATH}/${_basename}.h) +      SET(_header ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h)        # we need to run uic and replace some things in the generated file        # this is done by executing the cmake script kde4uic.cmake @@ -174,7 +173,6 @@ MACRO (KDE4_ADD_UI3_FILES _sources )     foreach (_current_FILE ${ARGN})        GET_FILENAME_COMPONENT(_tmp_FILE ${_current_FILE} ABSOLUTE) -#      GET_FILENAME_COMPONENT(_abs_PATH ${_tmp_FILE} PATH)        GET_FILENAME_COMPONENT(_basename ${_tmp_FILE} NAME_WE)        set(_header ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h)        set(_src ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp) | 
