[cmake-commits] alex committed FindQt4.cmake 1.63 1.64

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jan 31 15:06:09 EST 2007


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv16889

Modified Files:
	FindQt4.cmake 
Log Message:
BUG: finally fix #4331, the previous version just caught the tag, the
filename not at all

Alex


Index: FindQt4.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindQt4.cmake,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- FindQt4.cmake	20 Jan 2007 15:05:23 -0000	1.63
+++ FindQt4.cmake	31 Jan 2007 20:06:07 -0000	1.64
@@ -868,10 +868,10 @@
       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}



More information about the Cmake-commits mailing list