diff options
author | Brad King <brad.king@kitware.com> | 2015-04-23 13:04:39 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-04-23 13:04:39 (GMT) |
commit | 46098b0676383590691137acd73defba848a318d (patch) | |
tree | 7a752dcfe26b93fd967d7998309e12646c172da5 /Modules | |
parent | ad247d82b1fad2fe94ab3bf985a1685b04bfd67b (diff) | |
parent | 680ebebc1a8ad9d4507fce1b353b1fc32aa4f4f3 (diff) | |
download | CMake-46098b0676383590691137acd73defba848a318d.zip CMake-46098b0676383590691137acd73defba848a318d.tar.gz CMake-46098b0676383590691137acd73defba848a318d.tar.bz2 |
Merge topic 'check-compiler-flag-clang'
680ebebc Check*CompilerFlag: Add another pattern for Clang (#15526)
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 |