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 new CMake Python discovery, with matching Boost::Python abi. #207

Merged
merged 1 commit into from
Oct 30, 2019

Conversation

xnox
Copy link
Contributor

@xnox xnox commented Oct 27, 2019

CMake has a new Python discovery module, that can also export
major/minor version numbers. Switch to using it.

Boost, has also moved on to standard pythonXY abi component name
across all distributions/OS, thus use matching version ABI.

If one wants to compile against much older Boost, I guess we could add
fallback to search for Boost python3 component, but IMHO this should
not be necessory.

CMake has a new Python discovery module, that can also export
major/minor version numbers. Switch to using it.

Boost, has also moved on to standard pythonXY abi component name
across all distributions/OS, thus use matching version ABI.

If one wants to compile against much older Boost, I guess we could add
fallback to search for Boost python3 component, but IMHO this should
not be necessory.
@mkeeter mkeeter merged commit 6dfe682 into mkeeter:develop Oct 30, 2019
@mkeeter
Copy link
Owner

mkeeter commented Oct 30, 2019

Very cool, thanks!

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