Comment 1 for bug 1831869

Revision history for this message
Oleg (o01eg) wrote : Re: Backport boost_python3 fix for cmake

I've manually applied this patch to FindBoost.cmake but it doesn't solve issue because cmake doesn't found libraries for python3 component.

The only working component is python-py36:

//Boost python-py36 library (debug)
Boost_PYTHON-PY36_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_python-py36.so

//Boost python-py36 library (release)
Boost_PYTHON-PY36_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_python-py36.so

So I suppose patch should add next line:

set(_Boost_PYTHON_PY36_HEADERS "${_Boost_PYTHON_HEADERS}")