diff options
author | Brad King <brad.king@kitware.com> | 2016-04-01 14:02:50 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-04-01 14:02:50 (GMT) |
commit | 05f2ca70ad50d877059a4434fa28ac77c2cb7930 (patch) | |
tree | efaa0fa3540230105bb60cabbf00c21cdf204b17 /Modules | |
parent | 2d226ea895d9ca987e3fc8be897df91033d011a4 (diff) | |
parent | fae80ee2c347b87a65b80a3c8caa598c40680cc0 (diff) | |
download | CMake-05f2ca70ad50d877059a4434fa28ac77c2cb7930.zip CMake-05f2ca70ad50d877059a4434fa28ac77c2cb7930.tar.gz CMake-05f2ca70ad50d877059a4434fa28ac77c2cb7930.tar.bz2 |
Merge topic 'check-compiler-flag-clang-cl'
fae80ee2 Check*CompilerFlag: Add another pattern for Clang (#16038)
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 07d8b1e..a350a84 100644 --- a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake +++ b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake @@ -24,6 +24,7 @@ macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR) FAIL_REGEX "[Uu]nrecogni[sz]ed .*option" # GNU, NAG FAIL_REGEX "unknown .*option" # Clang FAIL_REGEX "optimization flag .* not supported" # Clang + FAIL_REGEX "unknown argument ignored" # Clang (cl) FAIL_REGEX "ignoring unknown option" # MSVC, Intel FAIL_REGEX "warning D9002" # MSVC, any lang FAIL_REGEX "option.*not supported" # Intel |