summaryrefslogtreecommitdiff
path: root/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-30 15:19:48 -0400
committerBrad King <brad.king@kitware.com>2014-07-30 15:21:44 -0400
commitcac91206b3193823d0b8ca3fdb620f7ac32f8a32 (patch)
treed4eb588cc4f01fda181efe7727056a2e234e04f8 /Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
parent55d6aa36a522f2dd7849ccd53d9e743a88f8c7a1 (diff)
downloadcmake-cac91206b3193823d0b8ca3fdb620f7ac32f8a32.tar.gz
Check*CompilerFlag: Avoid ';' in common pattern (#15048)
In commit v3.0.0-rc1~551^2~1 (Check*CompilerFlag: make C and CXX modules share most error patterns, 2013-08-08) a pattern containing a ';' was moved out of a ""-quoted argument and into a variable. CMake flattens the containing list and breaks the pattern. Use a '.' to match ';'.
Diffstat (limited to 'Modules/CMakeCheckCompilerFlagCommonPatterns.cmake')
-rw-r--r--Modules/CMakeCheckCompilerFlagCommonPatterns.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
index 9d8ba9ed56..abbcda4989 100644
--- a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
+++ b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
@@ -32,7 +32,7 @@ macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR)
FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro
FAIL_REGEX "command option .* is not recognized" # XL
FAIL_REGEX "command option .* contains an incorrect subargument" # XL
- FAIL_REGEX "not supported in this configuration; ignored" # AIX
+ FAIL_REGEX "not supported in this configuration. ignored" # AIX
FAIL_REGEX "File with unknown suffix passed to linker" # PGI
FAIL_REGEX "WARNING: unknown flag:" # Open64
FAIL_REGEX "Incorrect command line option:" # Borland