diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-01-09 10:29:14 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-01-09 10:29:21 (GMT) |
commit | 635225513e2139559cc3e31acc8006377e01fc94 (patch) | |
tree | 4cb5d2f728ef8f070571a5d82f9c341fb535ab1d | |
parent | d168fa2024276e12dd601b3dafa927612298acf7 (diff) | |
parent | 8b10e493ac7fc31252c3dbe258ed38af5826999c (diff) | |
download | CMake-635225513e2139559cc3e31acc8006377e01fc94.zip CMake-635225513e2139559cc3e31acc8006377e01fc94.tar.gz CMake-635225513e2139559cc3e31acc8006377e01fc94.tar.bz2 |
Merge topic 'fix-check-compiler-flag-gcc-9'
8b10e493ac check_LANG_compiler_flag: add the "deprecated switch" message for GCC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4165
-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 e1ce617..2dc75d6 100644 --- a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake +++ b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake @@ -9,6 +9,7 @@ macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR) set(${_VAR} FAIL_REGEX "[Uu]nrecogni[sz]ed .*option" # GNU, NAG + FAIL_REGEX "switch .* is no longer supported" # GNU FAIL_REGEX "unknown .*option" # Clang FAIL_REGEX "optimization flag .* not supported" # Clang FAIL_REGEX "unknown argument ignored" # Clang (cl) |