diff options
author | Brad King <brad.king@kitware.com> | 2014-07-30 19:19:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-30 19:21:44 (GMT) |
commit | cac91206b3193823d0b8ca3fdb620f7ac32f8a32 (patch) | |
tree | d4eb588cc4f01fda181efe7727056a2e234e04f8 /Modules/CMakeCheckCompilerFlagCommonPatterns.cmake | |
parent | 55d6aa36a522f2dd7849ccd53d9e743a88f8c7a1 (diff) | |
download | CMake-cac91206b3193823d0b8ca3fdb620f7ac32f8a32.zip CMake-cac91206b3193823d0b8ca3fdb620f7ac32f8a32.tar.gz CMake-cac91206b3193823d0b8ca3fdb620f7ac32f8a32.tar.bz2 |
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.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake index 9d8ba9e..abbcda4 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 |