mkeeter / antimony

CAD from a parallel universe
2.09k stars 159 forks source link

Use new CMake Python discovery, with matching Boost::Python abi. #207

Closed xnox closed 4 years ago

xnox commented 4 years ago

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 commented 4 years ago

Very cool, thanks!