summaryrefslogtreecommitdiffstats
path: root/Modules/FindQuickTime.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-08-22 12:33:12 (GMT)
committerBrad King <brad.king@kitware.com>2012-08-22 12:37:27 (GMT)
commit3553001bcc425dfb5d84a2dc8d657fe92c007962 (patch)
tree30ce9bd31bea0f7183580d227aacf743adb81a22 /Modules/FindQuickTime.cmake
parent4be6783711b2ff510c3449c5de22d35663d8bfc1 (diff)
downloadCMake-3553001bcc425dfb5d84a2dc8d657fe92c007962.zip
CMake-3553001bcc425dfb5d84a2dc8d657fe92c007962.tar.gz
CMake-3553001bcc425dfb5d84a2dc8d657fe92c007962.tar.bz2
Qt4Macros: Fix recently broken resource file parsing
Commit 4be67837 (read less from version headers into variables, 2012-08-19) switched from file(READ) and string(REGEX MATCHALL) to just file(STRINGS) to extract the list of resource <file> entries. However, the latter extracts entire lines that match the regex, not just the part that matches the regex, so the subsequent string(REGEX REPLACE) fails to match and replace anything. Return to the original parsing logic but replace file(READ) with file(STRINGS) to load a minimal part of the file before using string(REGEX MATCHALL) as before.
Diffstat (limited to 'Modules/FindQuickTime.cmake')
0 files changed, 0 insertions, 0 deletions