Skip to content

Commit

Permalink
Update cmake_policy in swig for CMake 3.12 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckschwerdt committed Feb 23, 2025
1 parent 7f56401 commit 5c0a5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swig/python/cmake/FindPython/Support.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

cmake_policy (GET CMP0094 _${_PYTHON_PREFIX}_LOOKUP_POLICY)

cmake_policy (VERSION 3.7)
cmake_policy (VERSION 3.7...3.14)

if (_${_PYTHON_PREFIX}_LOOKUP_POLICY)
cmake_policy (SET CMP0094 ${_${_PYTHON_PREFIX}_LOOKUP_POLICY})
Expand Down

0 comments on commit 5c0a5ed

Please sign in to comment.