You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support building with the default apt sources on Ubuntu 20.04
### Motivation
Currently the Python client cannot be built with the default apt sources
on Ubuntu 20.04, whose default CMake version is 3.16. However, even
after I installed CMake 3.24 on Ubuntu 20.04, CMake would still fail to
find Boost.Python.
### Modifications
To fix the Boost.Python not found issue, find the `Python` component
instead of `Python3` when finding Boost.
In addition, when finding Python3, find the `Development` component
instead of the `Development.Module`, which is a sub-component of
`Development`. See
https://cmake.org/cmake/help/latest/module/FindPython3.html.
After that, the minimum required CMake version becomes back to 3.12 from
3.18, which was upgraded in
apache#11.
0 commit comments