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.