xenial has cmake 3.5.1. VERSION_LESS_EQUAL was introduced in 3.7. So lets use VERSION_LESS,11 instead

This commit is contained in:
Isaac Connor 2021-04-19 17:06:54 -04:00
parent 80835614d5
commit 03b8a98bae
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ target_compile_options(zm-warning-interface
-Wextra -Wextra
-Wformat-security -Wformat-security
-Wno-cast-function-type -Wno-cast-function-type
$<$<VERSION_LESS_EQUAL:$<CXX_COMPILER_VERSION>,10>:-Wno-clobbered> $<$<VERSION_LESS:$<CXX_COMPILER_VERSION>,11>:-Wno-clobbered>
-Wno-unused-parameter -Wno-unused-parameter
-Woverloaded-virtual) -Woverloaded-virtual)