diff --git a/CMakeLists.txt b/CMakeLists.txt index 68e24246eb..595da87831 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,7 +189,7 @@ if (BUILD_CXX) set(ipo_supported NO) message(STATUS "IPO / LTO not currently supported building HiGHS on MinGW") else() - if(CMAKE_VERSION VERSION_GREATER "3.23.0") + if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0") cmake_policy(SET CMP0138 NEW) endif()