summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-01-19 16:55:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-01-19 16:55:39 (GMT)
commitc9c18982f3ec03100241cd3667395cade58450c6 (patch)
tree0011e9496b8ffab8b67f0d601a938e9617cd6a77
parent51bf1bd99af2abeba14189f2eb40024da58575f4 (diff)
downloadCMake-c9c18982f3ec03100241cd3667395cade58450c6.zip
CMake-c9c18982f3ec03100241cd3667395cade58450c6.tar.gz
CMake-c9c18982f3ec03100241cd3667395cade58450c6.tar.bz2
BUG: fix for bug 4331
-rw-r--r--Modules/FindQt4.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 92203c4..6b3e04f 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -868,10 +868,10 @@ IF (QT4_QMAKE_FOUND)
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cxx)
# parse file for dependencies
FILE(READ "${infile}" _RC_FILE_CONTENTS)
- STRING(REGEX MATCHALL "<file[^<]*" _RC_FILES "${_RC_FILE_CONTENTS}")
+ STRING(REGEX MATCHALL "<file[^<]*>" _RC_FILES "${_RC_FILE_CONTENTS}")
SET(_RC_DEPENDS)
FOREACH(_RC_FILE ${_RC_FILES})
- STRING(REGEX REPLACE "^<file" "" _RC_FILE "${_RC_FILE}")
+ STRING(REGEX REPLACE "^<file[^<]*>"" "" _RC_FILE "${_RC_FILE}")
SET(_RC_DEPENDS ${_RC_DEPENDS} "${rc_path}/${_RC_FILE}")
ENDFOREACH(_RC_FILE)
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}