From e9c6dd5c2e176669e28c8de87d775ff0fad648ce Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Tue, 12 Nov 2024 13:33:08 -0500 Subject: [PATCH] Update minimum CMake version to 3.24 --- CHANGELOG.md | 1 + python/esma_python.cmake | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de56399f..9e380b44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - For F2PY3 code, set CMake Policy CMP0132 if Python is 3.12+ or higher - Add test to see if `ifort` spits out the deprecation warning. Needed to hack f2py/meson +- Set minimum CMake version to 3.24 for the meson + f2py fix ### Deprecated diff --git a/python/esma_python.cmake b/python/esma_python.cmake index 67e54837..4a73e0c5 100644 --- a/python/esma_python.cmake +++ b/python/esma_python.cmake @@ -1,7 +1,8 @@ # CMake code involving Python # FIND_STRATEGY needs CMake 3.15 or later -cmake_minimum_required(VERSION 3.15) +# The new policy needed for f2py3 and Meson is 3.24 +cmake_minimum_required(VERSION 3.24) # Find Python find_package(Python COMPONENTS Interpreter)