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

cmake: use FindPython3 #1983

Merged
merged 1 commit into from
Feb 17, 2023
Merged

cmake: use FindPython3 #1983

merged 1 commit into from
Feb 17, 2023

Conversation

jonas-ott
Copy link
Contributor

Inspired by #1834.

Instead of FindPythonInterp which is deprecated, we can use FindPython3. This requires at least CMake 3.12, the only major distribution not supported is Ubuntu 18.04 with EOL in April this year.

Minor Changes:

  • IF(PYTHONINTERP_FOUND) can be removed because CMake will output an error message
  • The check for a dummy python.exe is now quiet

requires Cmake 3.12
@sarunasb sarunasb merged commit 011de2e into lensfun:master Feb 17, 2023
@jonas-ott jonas-ott deleted the find_python3 branch February 17, 2023 23:38
@jonas-ott jonas-ott mentioned this pull request Mar 28, 2023
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.

None yet

2 participants