diff options
author | Brad King <brad.king@kitware.com> | 2016-03-31 12:50:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-03-31 18:09:07 (GMT) |
commit | fae80ee2c347b87a65b80a3c8caa598c40680cc0 (patch) | |
tree | 6daac31a0769e80d72d4260d89955dde6ddf465f /Modules | |
parent | 0aa736e62545cee8e3ed6c39667705d31ce66b8c (diff) | |
download | CMake-fae80ee2c347b87a65b80a3c8caa598c40680cc0.zip CMake-fae80ee2c347b87a65b80a3c8caa598c40680cc0.tar.gz CMake-fae80ee2c347b87a65b80a3c8caa598c40680cc0.tar.bz2 |
Check*CompilerFlag: Add another pattern for Clang (#16038)
Match a warning pattern produced by `clang-cl`.
Suggested-by: Reid Kleckner <rnk@google.com>
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 |