From dcf3813ad944ebf2b09d47e4d8b96d201916fbbb Mon Sep 17 00:00:00 2001 From: Christian Valente Date: Thu, 27 Jun 2024 12:03:38 +0300 Subject: [PATCH] Amended conditional policy setting in CMake file. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()