Use newer cmake version checks

This commit is contained in:
Geert Janssens
2019-09-14 10:08:28 +02:00
parent 6753b30b86
commit 797654133b
2 changed files with 2 additions and 3 deletions

View File

@@ -736,7 +736,7 @@ set(PLATFORM_OSX 1)
set(HAVE_OSX_KEYCHAIN 1)
endif(APPLE)
if(GLIB2_VERSION VERSION_GREATER 2.46.0 OR GLIB2_VERSION VERSION_EQUAL 2.46.0)
if(GLIB2_VERSION VERSION_GREATER_EQUAL 2.46.0)
set(HAVE_GLIB_2_46 1)
endif()