Skip to content

Commit d68fe56

Browse files
committed
[cmake] Bump pybind11 to 2.13.2 to get gcc 14 fix.
pybind/pybind11#5206
1 parent 4aa2fc4 commit d68fe56

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

scripts/cmake/Dependencies.cmake

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,14 @@ else()
8383
list(APPEND DISABLE_WARNINGS_TARGETS tet tetgen)
8484
endif()
8585

86-
CPMFindPackage(
87-
NAME pybind11 GITHUB_REPOSITORY pybind/pybind11
88-
VERSION ${ogs.minimum_version.pybind11} SYSTEM TRUE
89-
)
86+
if(GUIX_BUILD)
87+
find_package(pybind11 REQUIRED)
88+
else()
89+
CPMFindPackage(
90+
NAME pybind11 GITHUB_REPOSITORY pybind/pybind11
91+
VERSION ${ogs.minimum_version.pybind11} SYSTEM TRUE
92+
)
93+
endif()
9094

9195
if(_build_chemistry_lib)
9296
if(GUIX_BUILD)

web/data/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"tfel-repo": "thelfer",
2626
"lis": "1.7.37",
2727
"gtest": "1.13.0",
28-
"pybind11": "2.10.4",
28+
"pybind11": "2.13.2",
2929
"range-v3": "0.12.0",
3030
"json": "3.10.5",
3131
"json_sha": "b94997df68856753b72f0d7a3703b7d484d4745c567f3584ef97c96c25a5798e"

0 commit comments

Comments
 (0)