Skip to content

Use CMake features to find NumPy - #333

Open
HunterBelanger wants to merge 1 commit into
xtensor-stack:masterfrom
HunterBelanger:fix/numpy
Open

HunterBelanger wants to merge 1 commit into
xtensor-stack:masterfrom
HunterBelanger:fix/numpy

Conversation

@HunterBelanger

Copy link
Copy Markdown

The current CMake script that is used to find NumPy does not always work for me, and sometimes causes problems on the different systems I build on. Given we have recently updated the minimum CMake version and the minimum pybind11 version, these changes now use the standard CMake tools to find Python3 and NumPy, and makes the links with the standard CMake targets. I specifically use Python3 in the CMake as the indicated pybind11 version no longer supports Python 2.7.

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.

1 participant