Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed Nov 12, 2024
1 parent f483a9f commit 8ed86c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/f2py/FindF2PY.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ if(F2PY_EXECUTABLE)
set(F2PY_VERSION_PATCH "${CMAKE_MATCH_5}")
endif()

# Testing has shown that f2py3 with Python 3.12+ needs to set
# a new CMake policy, CMP0132, because f2py3 uses Meson in the
# Testing has shown that f2py with Python 3.12+ needs to set
# a new CMake policy, CMP0132, because f2py uses Meson in the
# instead of distutils.
# See https://github.com/mesonbuild/meson/issues/13882
if (Python_VERSION_MINOR GREATER_EQUAL 12)
message(STATUS "[F2PY3]: Setting CMP0132 policy to NEW")
message(STATUS "[F2PY]: Setting CMP0132 policy to NEW")
cmake_policy(SET CMP0132 NEW)
endif ()

Expand Down

0 comments on commit 8ed86c7

Please sign in to comment.