Merge topic 'check-compiler-flag-clang'

680ebebc Check*CompilerFlag: Add another pattern for Clang (#15526)
This commit is contained in:
Brad King 2015-04-23 09:04:39 -04:00 committed by CMake Topic Stage
commit 46098b0676
1 changed files with 1 additions and 0 deletions

View File

@ -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