-
Notifications
You must be signed in to change notification settings - Fork 357
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
Fall back to CMake's Development
package for Python in case of errors
#2210
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks much better. Thanks for this change!
Now that I look at it again, if everything goes well there won't be any output, should we add else()
find_package( Python 3.8 REQUIRED Interpreter Development.Module )
endif() to get the output in the logs? |
Co-authored-by: Jochen Martin Eppler <jougs@gmx.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, works and is exactly the information I was lacking.
Thanks for the faster-than light reactions to my rolling reviews 😸 |
Development
in case of any errorsDevelopment
Python module in case of any errors
Development
Python module in case of any errorsDevelopment
Cmake module for Python detection
Development
Cmake module for Python detectionDevelopment
package for Python in case of errors
Fixes #2209 and any other environment in which
Development.Module
might not work, butDevelopment
would. It was a bit optimistic to hope that only the CMake version would ever be a problem, and this PR makes sure that whatever happens we revert to the default behavior.