From ab2ad9927845fc89a3d729489da674eaf0fb7302 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Thu, 23 Aug 2018 00:42:54 -0600 Subject: [PATCH] CMake: Don't use GREATER_EQUAL It's not compatible with CMake 3.0. --- dtool/src/dtoolbase/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtool/src/dtoolbase/CMakeLists.txt b/dtool/src/dtoolbase/CMakeLists.txt index fb201d42c0..9c6a35faad 100644 --- a/dtool/src/dtoolbase/CMakeLists.txt +++ b/dtool/src/dtoolbase/CMakeLists.txt @@ -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.