deps/pybind11/pybind11.cmake
raw| 1 | set(_exclude_from_all OFF) |
| 2 | |
| 3 | if (NOT ${PROJECT_NAME}_BUILD_pybind11 AND NOT ${PROJECT_NAME}_BUILD_ALL) |
| 4 | set(_exclude_from_all ON) |
| 5 | endif () |
| 6 | |
| 7 | add_cmake_project(pybind11 |
| 8 | EXCLUDE_FROM_ALL ${_exclude_from_all} |
| 9 | URL https://github.com/pybind/pybind11/archive/refs/tags/v2.11.1.zip |
| 10 | URL_HASH SHA256=b011a730c8845bfc265f0f81ee4e5e9e1d354df390836d2a25880e123d021f89 |
| 11 | CMAKE_ARGS |
| 12 | -DPYBIND11_TEST:BOOL=OFF |
| 13 | ) |