Minimum CMake version to build CMake itself increased to 3.7
As reported on the mailing list, CMake itself currently requires at least CMake 3.7 due to the use of VERSION_GREATER_EQUAL
in an if()
condition in Tests/RunCMake/CMakeLists.txt
:
if ((CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19.0.24215.1 AND
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.10) OR
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19.10.25017)
This should probably use NOT ... VERSION_LESS
instead to allow earlier CMake versions to be used. The above appears to have been added by a5dd1599.