don't set -Wconditionally-supported on older gcc
This commit is contained in:
parent
3be21d0457
commit
663c7f51f5
|
@ -1,7 +1,7 @@
|
||||||
target_compile_options(zm-warning-interface
|
target_compile_options(zm-warning-interface
|
||||||
INTERFACE
|
INTERFACE
|
||||||
-Wall
|
-Wall
|
||||||
-Wconditionally-supported
|
$<$<VERSION_GREATER:$<CXX_COMPILER_VERSION>,5.0>:-Wconditionally-supported>
|
||||||
-Wextra
|
-Wextra
|
||||||
-Wformat-security
|
-Wformat-security
|
||||||
-Wno-cast-function-type
|
-Wno-cast-function-type
|
||||||
|
|
Loading…
Reference in New Issue