Skip to content

Commit b4fc874

Browse files
authored
Add CMake 4 compatibility (#179)
Also bump pybind11 to the first version that works with CMake 4.
1 parent 125dea6 commit b4fc874

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bindings/python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ include(FetchContent)
2020
FetchContent_Declare(
2121
pybind11
2222
GIT_REPOSITORY https://github.com/pybind/pybind11
23-
GIT_TAG v2.10.1
23+
GIT_TAG v3.0.1
2424
)
2525
FetchContent_MakeAvailable(pybind11)
2626

bindings/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
requires = [
1717
"setuptools>=42",
1818
"scikit-build",
19-
"cmake>=3.21, <4", # Keep in-sync with `CMakeLists.txt`
19+
"cmake>=3.21, <5", # Keep in-sync with `CMakeLists.txt`
2020
"numpy>=1.10.0, <2", # Keep in-sync with `setup.py`
2121
"archspec>=0.2.0", # Keep in-sync with `setup.py`
2222
"toml>=0.10.2", # Keep in-sync with `setup.py` required for the tests

0 commit comments

Comments
 (0)