Skip to content

Commit 8afec91

Browse files
committed
Bump pybind version
1 parent 8d7cdab commit 8afec91

3 files changed

Lines changed: 2 additions & 11 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ include(cmake/StaticAnalysers.cmake)
3333
option(BUILD_SHARED_LIBS "Enable compilation of shared libraries" OFF)
3434
option(ENABLE_TESTING "Enable Test Builds" ON)
3535

36-
option(PYTHON_BINDINGS "Whether to build the python bindings" OFF)
37-
if (EXISTS ${CMAKE_SOURCE_DIR}/pybind11/LICENSE)
38-
set(PYTHON_BINDINGS ON)
39-
endif()
40-
if (PYTHON_BINDINGS)
41-
add_subdirectory(pybind11)
42-
endif ()
43-
4436
add_subdirectory(src)
4537
add_subdirectory(exe)
4638

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[build-system]
22
requires = [
33
"scikit-build-core>=0.11.6",
4-
"cmake<4",
5-
"pybind11==2.13.6"
4+
"pybind11==3.0.1"
65
]
76
build-backend = "scikit_build_core.build"
87

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ if (PREPARE_DECODING_PYTHON_BINDINGS)
129129
FetchContent_Declare(
130130
pybind11
131131
GIT_REPOSITORY https://github.com/pybind/pybind11.git
132-
GIT_TAG a2e59f0e7065404b44dfe92a28aca47ba1378dc4 # Version 2.13.6
132+
GIT_TAG f5fbe867d2d26e4a0a9177a51f6e568868ad3dc8 # Version 3.0.1
133133
)
134134
FetchContent_MakeAvailable(pybind11)
135135
endif()

0 commit comments

Comments
 (0)