diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-01-19 01:35:07 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-01-19 01:35:07 (GMT) |
commit | 51bf1bd99af2abeba14189f2eb40024da58575f4 (patch) | |
tree | 6dee29122884520cf15f3c51e69abd2a5d4c07c8 /Modules/FindQt4.cmake | |
parent | 6f7bfb6fed442ceccb218ed09498a0919df728a7 (diff) | |
download | CMake-51bf1bd99af2abeba14189f2eb40024da58575f4.zip CMake-51bf1bd99af2abeba14189f2eb40024da58575f4.tar.gz CMake-51bf1bd99af2abeba14189f2eb40024da58575f4.tar.bz2 |
BUG: fix for bug 4331
Diffstat (limited to 'Modules/FindQt4.cmake')
-rw-r--r-- | Modules/FindQt4.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index ac25b1c..92203c4 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} |