[SRU] Backport boost_python3 fix for cmake
Bug #1831869 reported by
Oleg
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Currenlty using boost_python3 is impossible: https:/
It was fixed in cmake 3.11 but bionic uses 3.10. Could you backport fix?
Patch: https:/
summary: |
- Backport boost_python3 fix for cmake + [SRU] Backport boost_python3 fix for cmake |
To post a comment you must log in.
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) PY36_LIBRARY_ DEBUG:FILEPATH= /usr/lib/ x86_64- linux-gnu/ libboost_ python- py36.so
Boost_PYTHON-
//Boost python-py36 library (release) PY36_LIBRARY_ RELEASE: FILEPATH= /usr/lib/ x86_64- linux-gnu/ libboost_ python- py36.so
Boost_PYTHON-
So I suppose patch should add next line:
set(_Boost_ PYTHON_ PY36_HEADERS "${_Boost_ PYTHON_ HEADERS} ")