Closed henryiii closed 8 months ago
This fixes a probably long standing bug where set(PYBIND11_FINDPYTHON ON) couldn't be used in manylinux. Fix #4802.
set(PYBIND11_FINDPYTHON ON)
* Don't require the libs component on CMake 3.18+ when using PYBIND11_FINDPYTHON (fixes manylinux builds).
LGTM, nice catch!
Description
This fixes a probably long standing bug where
set(PYBIND11_FINDPYTHON ON)
couldn't be used in manylinux. Fix #4802.Suggested changelog entry: