pybind / pybind11

Seamless operability between C++11 and Python
https://pybind11.readthedocs.io/
Other
15.18k stars 2.06k forks source link

fix(cmake): disable strip when build type is unset #4780

Closed tttapa closed 11 months ago

tttapa commented 11 months ago

Description

This restores the pre-2.10.2 behavior, as discussed in #4454.

Suggested changelog entry:

* ``pybind11_strip`` is no longer automatically applied when ``CMAKE_BUILD_TYPE`` is unset.
rwgk commented 11 months ago

Merging this, too, to get this into smart_holder update as well.