Don't use VERSION_GREATER_EQUAL in order to support CMake 3.3+

This commit is contained in:
Paul Romano 2018-09-24 15:15:38 -05:00
parent 94d973e5f0
commit c22cc14219

View file

@ -41,7 +41,7 @@ endif()
#===============================================================================
# Allow user to specify HDF5_ROOT
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
if (NOT (CMAKE_VERSION VERSION_LESS 3.12))
cmake_policy(SET CMP0074 NEW)
endif()