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

remove use of PYTHON_FOUND #941

Merged
merged 2 commits into from
Jun 4, 2021

Conversation

KrisThielemans
Copy link
Member

This variable no longer exists when using find(Python ...), i.e. with CMake 3.12 or more recent.

Fixes #939

This variable no longer exists when using find(Python ...),
i.e. with CMake 3.12 or more recent.

Fixes SyneRBI#939
@KrisThielemans KrisThielemans added this to the v3.1 milestone Jun 4, 2021
@KrisThielemans
Copy link
Member Author

I am not sure anymore why we only see this. Locally I'm running with CMake 3.17 anyway. Possibly CMake was still setting PYTHON_FOUND while not anymore.

anyway, I think this PR will fix it.

Copy link
Member

@ALEXJAZZ008008 ALEXJAZZ008008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've built using the proposed changes and it rectifies the issue we were seeing, thank you!

@KrisThielemans
Copy link
Member Author

great. what is your CMake version actually?

@ALEXJAZZ008008
Copy link
Member

I'm using CMake 3.10.2, it's the most recent version in the Ubuntu 18.04 repository.

[ci skip]
@KrisThielemans
Copy link
Member Author

I'm using CMake 3.10.2, it's the most recent version in the Ubuntu 18.04 repository.

it completely baffles me, but anyway...

@KrisThielemans KrisThielemans merged commit 7822bdd into SyneRBI:master Jun 4, 2021
@KrisThielemans KrisThielemans deleted the FixPYTHON_FOUND branch June 4, 2021 17:05
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.

Python libraries not built
2 participants