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

python: Use FindPython cmake module instead of deprecated FindPythonInterp #227

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Staudey
Copy link

@Staudey Staudey commented Feb 24, 2024

This uses the FindPython cmake module instead of the old FindPythonInterp, both to future-proof and avoid certain issues (e.g. in the Solus package build the old module lead to misdetections and build failures).

Unfortunately this means bumping the minimum cmake version to 3.12, which was released in July 2018. I'm not sure if this is an issue for this project.

…nterp

Signed-off-by: Thomas Staudinger <Staudi.Kaos@gmail.com>
@lindstro
Copy link
Member

@Staudey Thanks for your contribution. I think bumping CMake to 3.12 may be acceptable at this point. But these changes cause the MSVC tests to fail. Can you please look into what's needed to make them pass?

Signed-off-by: Thomas Staudinger <Staudi.Kaos@gmail.com>
@Staudey
Copy link
Author

Staudey commented Feb 26, 2024

Thanks for the heads-up! I'll have to take another look at this because what I first thought the appveyor issue was turned out to be a red herring.

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