Skip to content

Commit

Permalink
Update minimum CMake version to 3.24
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed Nov 12, 2024
1 parent a318fad commit e9c6dd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion python/esma_python.cmake
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit e9c6dd5

Please sign in to comment.