mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 03:29:47 +00: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:
parent
b52962bd61
commit
8b10e493ac
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user