diff options
author | Dan Kegel <dank@kegel.com> | 2015-04-22 14:58:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-22 14:59:57 (GMT) |
commit | 680ebebc1a8ad9d4507fce1b353b1fc32aa4f4f3 (patch) | |
tree | ba3f4af6263663564866b28059b00a850cb0db55 /Modules | |
parent | 6b229b48020987e71b35d84d43bcd4e73515d8b7 (diff) | |
download | CMake-680ebebc1a8ad9d4507fce1b353b1fc32aa4f4f3.zip CMake-680ebebc1a8ad9d4507fce1b353b1fc32aa4f4f3.tar.gz CMake-680ebebc1a8ad9d4507fce1b353b1fc32aa4f4f3.tar.bz2 |
Check*CompilerFlag: Add another pattern for Clang (#15526)
Match 'optimization flag ... not supported' messages.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeCheckCompilerFlagCommonPatterns.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake index 3141d60..07d8b1e 100644 --- a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake +++ b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake @@ -23,6 +23,7 @@ macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR) set(${_VAR} FAIL_REGEX "[Uu]nrecogni[sz]ed .*option" # GNU, NAG FAIL_REGEX "unknown .*option" # Clang + FAIL_REGEX "optimization flag .* not supported" # Clang FAIL_REGEX "ignoring unknown option" # MSVC, Intel FAIL_REGEX "warning D9002" # MSVC, any lang FAIL_REGEX "option.*not supported" # Intel |