don't set -Wconditionally-supported on older gcc

This commit is contained in:
Andrew Bauer 2021-04-07 10:01:46 -05:00
parent 3be21d0457
commit 663c7f51f5
1 changed files with 1 additions and 1 deletions

View File

@ -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