summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt4.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-12 14:56:12 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-12 14:56:12 (GMT)
commit58d0d056c4029da6858d542c94bcadf7c39b8e30 (patch)
treea36b5f1f5ebbefa249590fd3ffe75ba8b82e608e /Modules/FindQt4.cmake
parent21089bf93f877b697874b0858d18915b2d695e20 (diff)
downloadCMake-58d0d056c4029da6858d542c94bcadf7c39b8e30.zip
CMake-58d0d056c4029da6858d542c94bcadf7c39b8e30.tar.gz
CMake-58d0d056c4029da6858d542c94bcadf7c39b8e30.tar.bz2
ENH: remove bad quoteed code
Diffstat (limited to 'Modules/FindQt4.cmake')
-rw-r--r--Modules/FindQt4.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 8efaf1b..e9a0a6a 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -642,15 +642,14 @@ IF (QT4_QMAKE_FOUND)
# find moc and uic using qmake
FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeTmpQmake/tmp.pro
- "message("MOC <$$QMAKE_MOC>")
- message("UIC <$$QMAKE_UIC>")
+ "message(MOC<$$QMAKE_MOC>)
+ message(UIC<$$QMAKE_UIC>)
")
-
+
EXECUTE_PROCESS(COMMAND ${QT_QMAKE_EXECUTABLE}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeTmpQmake
OUTPUT_VARIABLE _moc_OUTPUT
ERROR_VARIABLE _moc_OUTPUT )
-
FILE(REMOVE_RECURSE "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeTmpQmake")
STRING(REGEX REPLACE ".*MOC<([^>]+).*" "\\1" QT_MOC_EXECUTABLE_INTERNAL "${_moc_OUTPUT}" )