Skip to content

Commit

Permalink
Merge pull request KhronosGroup#2071 from jeffbolznv/version_less
Browse files Browse the repository at this point in the history
Use NOT ... VERSION_LESS instead of VERSION_GREATER_EQUAL
  • Loading branch information
johnkslang authored Jan 30, 2020
2 parents 9a80305 + 141dbed commit 5e86b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ if(${CMAKE_CXX_COMPILER_ID} MATCHES "GNU")
-Wunused-parameter -Wunused-value -Wunused-variable -Wunused-but-set-parameter -Wunused-but-set-variable -fno-exceptions)
add_compile_options(-Wno-reorder) # disable this from -Wall, since it happens all over.
add_compile_options(-fno-rtti)
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "9.0.0")
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "9.0.0")
add_compile_options(-Werror=deprecated-copy)
endif()
elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
Expand Down

0 comments on commit 5e86b28

Please sign in to comment.