From 94550852ebbe63ea4be3f34521f7095e8ec26660 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Wed, 31 Jan 2007 15:06:07 -0500 Subject: BUG: finally fix #4331, the previous version just caught the tag, the filename not at all Alex --- Modules/FindQt4.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index 632ec7b..cecdac8 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 "" _RC_FILES "${_RC_FILE_CONTENTS}") + STRING(REGEX MATCHALL "" "" _RC_FILE "${_RC_FILE}") + STRING(REGEX REPLACE "^]*>" "" _RC_FILE "${_RC_FILE}") SET(_RC_DEPENDS ${_RC_DEPENDS} "${rc_path}/${_RC_FILE}") ENDFOREACH(_RC_FILE) ADD_CUSTOM_COMMAND(OUTPUT ${outfile} -- cgit v0.12