CMake: Don't use GREATER_EQUAL

It's not compatible with CMake 3.0.
This commit is contained in:
Sam Edwards 2018-08-23 00:42:54 -06:00
parent 76378c8990
commit ab2ad99278
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ configure_file(pandaVersion.h.in pandaVersion.h)
configure_file(checkPandaVersion.h.in checkPandaVersion.h)
configure_file(checkPandaVersion.cxx.in checkPandaVersion.cxx)
if(CMAKE_CXX_STANDARD GREATER_EQUAL 17)
if(CMAKE_CXX_STANDARD GREATER 16)
# This serves as a reminder to update checkPandaVersion.h.in when we upgrade
# to C++17, which supports inline variables - a cleaner way of depending on
# the Panda version symbol from a header than what we're currently doing.