summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-05 19:04:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-05 19:04:39 (GMT)
commite0924bbb16209f196e970db2f9830467c3e147a6 (patch)
treedcebc0bff7cd493a3b71064caff351e714664b3b /Modules
parent50a0f71120afe28c205bacab5a1350eb04815f3d (diff)
downloadCMake-e0924bbb16209f196e970db2f9830467c3e147a6.zip
CMake-e0924bbb16209f196e970db2f9830467c3e147a6.tar.gz
CMake-e0924bbb16209f196e970db2f9830467c3e147a6.tar.bz2
ENH: fix windows path issue
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindQt4.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index ac7913c..b058dd0 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -653,11 +653,11 @@ IF (QT4_QMAKE_FOUND)
FILE(REMOVE_RECURSE "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeTmpQmake")
- STRING(REGEX REPLACE ".*MOC<([^>]+).*" "\\1" QT_MOC_EXECUTABLE "${_moc_OUTPUT}" )
- STRING(REGEX REPLACE ".*UIC<([^>]+).*" "\\1" QT_UIC_EXECUTABLE "${_moc_OUTPUT}" )
+ STRING(REGEX REPLACE ".*MOC<([^>]+).*" "\\1" QT_MOC_EXECUTABLE_INTERNAL "${_moc_OUTPUT}" )
+ STRING(REGEX REPLACE ".*UIC<([^>]+).*" "\\1" QT_UIC_EXECUTABLE_INTERNAL "${_moc_OUTPUT}" )
- SET(QT_MOC_EXECUTABLE ${QT_MOC_EXECUTABLE} CACHE FILEPATH "The moc executable")
- SET(QT_UIC_EXECUTABLE ${QT_UIC_EXECUTABLE} CACHE FILEPATH "The uic executable")
+ SET(QT_MOC_EXECUTABLE ${QT_MOC_EXECUTABLE_INTERNAL} CACHE FILEPATH "The moc executable")
+ SET(QT_UIC_EXECUTABLE ${QT_UIC_EXECUTABLE_INTERNAL} CACHE FILEPATH "The uic executable")
FIND_PROGRAM(QT_UIC3_EXECUTABLE