Skip to content

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

Merged
rwgk merged 1 commit into
pybind:masterfrom
tttapa:conditional-strip-4454
Aug 8, 2023
Merged

fix(cmake): disable strip when build type is unset#4780
rwgk merged 1 commit into
pybind:masterfrom
tttapa:conditional-strip-4454

Conversation

@tttapa

@tttapa tttapa commented Aug 6, 2023

Copy link
Copy Markdown
Contributor

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.

@tttapa
tttapa requested a review from henryiii as a code owner August 6, 2023 01:36
@rwgk

rwgk commented Aug 8, 2023

Copy link
Copy Markdown
Collaborator

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

@rwgk
rwgk merged commit 4bf60c6 into pybind:master Aug 8, 2023
@github-actions github-actions Bot added the needs changelog Possibly needs a changelog entry label Aug 8, 2023
@henryiii henryiii changed the title Disable strip when build type is unset fix(cmake): disable strip when build type is unset Nov 15, 2023
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants