summaryrefslogtreecommitdiffstats
path: root/Modules/KDE3Macros.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-05-19 20:57:49 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2006-05-19 20:57:49 (GMT)
commita86c766d2af5784b9b065b27b8cafed64c890e1f (patch)
tree96e0813066a377a8a28e678488ec82ba8dfbb3f7 /Modules/KDE3Macros.cmake
parent7d0bc9541d78979705c867691eb6abbcd3e53f0a (diff)
downloadCMake-a86c766d2af5784b9b065b27b8cafed64c890e1f.zip
CMake-a86c766d2af5784b9b065b27b8cafed64c890e1f.tar.gz
CMake-a86c766d2af5784b9b065b27b8cafed64c890e1f.tar.bz2
BUG: kde3: use QT_UIC_EXECUTABLE instead of simply uic
BUG: use qouting for the path to Qt4 moc and uic, should help with paths with spaces Alex
Diffstat (limited to 'Modules/KDE3Macros.cmake')
-rw-r--r--Modules/KDE3Macros.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/KDE3Macros.cmake b/Modules/KDE3Macros.cmake
index 17e4384..0c2ae19 100644
--- a/Modules/KDE3Macros.cmake
+++ b/Modules/KDE3Macros.cmake
@@ -170,9 +170,10 @@ MACRO(KDE3_ADD_UI_FILES _sources )
ADD_CUSTOM_COMMAND(OUTPUT ${_src}
COMMAND ${CMAKE_COMMAND}
ARGS
- -DKDE_UIC_FILE:STRING=${_tmp_FILE}
- -DKDE_UIC_CPP_FILE:STRING=${_src}
- -DKDE_UIC_H_FILE:STRING=${_header}
+ -DKDE_UIC_EXECUTABLE:FILEPATH=${QT_UIC_EXECUTABLE}
+ -DKDE_UIC_FILE:FILEPATH=${_tmp_FILE}
+ -DKDE_UIC_CPP_FILE:FILEPATH=${_src}
+ -DKDE_UIC_H_FILE:FILEPATH=${_header}
-P ${KDE3_MODULE_DIR}/kde3uic.cmake
DEPENDS ${_header}
)