Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: require CMake 3.15+ #5304

Merged
merged 4 commits into from
Aug 14, 2024
Merged

Conversation

henryiii
Copy link
Collaborator

Description

Remove support for ancient versions of CMake.

Suggested changelog entry:

* CMake 3.15+ is now required.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Collaborator

@rwgk rwgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My usual caveat: I (still) don't know much about cmake. But I looked through all the changes, seems good to me!

@henryiii henryiii merged commit 28dbce4 into pybind:master Aug 14, 2024
78 checks passed
@henryiii henryiii deleted the henryiii/feat/cmake315 branch August 14, 2024 22:21
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Aug 14, 2024
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Aug 22, 2024
if(TARGET pybind11::pybind11)
return()
endif()
include_guard(GLOBAL)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not work well in config mode if one does find_package multiple times...

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.

3 participants