Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use find_package(Python) instead of PythonInterp #151

Closed
wants to merge 2 commits into from

Conversation

mglisse
Copy link
Member

@mglisse mglisse commented Nov 21, 2019

Apparently find_package(PythonInterp) is deprecated since 3.12. However, this patch requires cmake >= 3.12, which may be a bit too recent (1 year old next week)...
It is also a bit less convenient to specify a non-default version of python (I have 3.8 and 3.7, but only 3.7 has the various modules installed): I first run cmake (it picks python3.8, the most recent), then edit the python executable with ccmake, and let it configure/generate.

Fix #139.

Apparently find_package(PythonInterp) is deprecated since 3.12.
@mglisse
Copy link
Member Author

mglisse commented May 7, 2021

CGAL-5.3 will require CMake >= 3.14, so I think it would be fine if Gudhi-3.5 did as well.

@VincentRouvreau
Copy link
Contributor

Done on #1112

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.

FindPythonInterp deprecated
2 participants