Skip to content

Commit 3f3063b

Browse files
committed
Revert pybind11 default version back to old
1 parent ec8251e commit 3f3063b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

cmake/dependencies/pybind11.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ function(find_pybind11)
5151
mark_as_advanced(FETCHCONTENT_UPDATES_DISCONNECTED_FETCHEDpybind11)
5252
elseif(NOT openPMD_USE_INTERNAL_PYBIND11)
5353
if(openPMD_USE_PYTHON STREQUAL AUTO)
54-
find_package(pybind11 3.0.0 CONFIG)
54+
find_package(pybind11 2.13.0 CONFIG)
5555
elseif(openPMD_USE_PYTHON)
56-
find_package(pybind11 3.0.0 CONFIG REQUIRED)
56+
find_package(pybind11 2.13.0 CONFIG REQUIRED)
5757
endif()
5858
if(TARGET pybind11::module)
5959
message(STATUS "pybind11: Found version '${pybind11_VERSION}'")
@@ -67,18 +67,18 @@ set(openPMD_pybind11_src ""
6767
"Local path to pybind11 source directory (preferred if set)")
6868

6969
# tarball fetcher
70-
set(openPMD_pybind11_tar "https://github.com/pybind/pybind11/archive/refs/tags/v3.0.2.tar.gz"
70+
set(openPMD_pybind11_tar "https://github.com/pybind/pybind11/archive/refs/tags/v2.13.6.tar.gz"
7171
CACHE STRING
7272
"Remote tarball link to pull and build pybind11 from if(openPMD_USE_INTERNAL_PYBIND11)")
73-
set(openPMD_pybind11_tar_hash "SHA256=2f20a0af0b921815e0e169ea7fec63909869323581b89d7de1553468553f6a2d"
73+
set(openPMD_pybind11_tar_hash "SHA256=e08cb87f4773da97fa7b5f035de8763abc656d87d5773e62f6da0587d1f0ec20"
7474
CACHE STRING
7575
"Hash checksum of the tarball of pybind11 if(openPMD_USE_INTERNAL_PYBIND11)")
7676

7777
# Git fetcher
7878
set(openPMD_pybind11_repo "https://github.com/pybind/pybind11.git"
7979
CACHE STRING
8080
"Repository URI to pull and build pybind11 from if(openPMD_USE_INTERNAL_PYBIND11)")
81-
set(openPMD_pybind11_branch "v3.0.2"
81+
set(openPMD_pybind11_branch "v2.13.6"
8282
CACHE STRING
8383
"Repository branch for openPMD_pybind11_repo if(openPMD_USE_INTERNAL_PYBIND11)")
8484

0 commit comments

Comments
 (0)