Upgrade pybind11 2.12 to support both numpy 1.x and 2.x (#750)

This commit is contained in:
Wenbing Li 2024-06-20 15:18:17 -07:00 коммит произвёл GitHub
Родитель cbed8fd575
Коммит 3b275b16bc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -144,7 +144,7 @@
"component": {
"type": "git",
"git": {
"commitHash": "80dc998efced8ceb2be59756668a7e90e8bef917",
"commitHash": "3e9dfa2866941655c56877882565e7577de6fc7b",
"repositoryUrl": "https://github.com/pybind/pybind11.git"
},
"comments": "v2.10.1"

4
cmake/externals/pybind11.cmake поставляемый
Просмотреть файл

@ -1,7 +1,7 @@
FetchContent_Declare(
pybind11
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.1.zip
URL_HASH SHA1=769b6aa67a77f17a770960f604b727645b6f6a13
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.12.0.zip
URL_HASH SHA1=8482f57ed55c7b100672815a311d5450858723fb
)
FetchContent_GetProperties(pybind11)