mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06:00
check_LANG_compiler_flag: add the "deprecated switch" message for GCC
Add the "deprecated switch" message for GCC to CMakeCheckCompilerFlagCommonPatterns.cmake.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user