diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-05 19:04:39 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-05 19:04:39 (GMT) |
commit | e0924bbb16209f196e970db2f9830467c3e147a6 (patch) | |
tree | dcebc0bff7cd493a3b71064caff351e714664b3b /Modules | |
parent | 50a0f71120afe28c205bacab5a1350eb04815f3d (diff) | |
download | CMake-e0924bbb16209f196e970db2f9830467c3e147a6.zip CMake-e0924bbb16209f196e970db2f9830467c3e147a6.tar.gz CMake-e0924bbb16209f196e970db2f9830467c3e147a6.tar.bz2 |
ENH: fix windows path issue
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindQt4.cmake | 8 |
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 |