Skip to content

Conversation

dokempf
Copy link
Contributor

@dokempf dokempf commented Nov 28, 2023

The current way how numpy is searched for depends on the deprecated FindPythonInterp that is slowly being phased out (see https://cmake.org/cmake/help/latest/module/FindPythonInterp.html). Luckily, the replacement FindPython offers an out-of-the-box solution to find the NumPy headers which allows great simplification of the xtensor-python CMake code. The only downside is that it requires bumping the required CMake version to 3.14.

@JohanMabille
Copy link
Member

Thanks a lot! And sorry for the time it took to get in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants