spack/var/spack/repos/builtin/packages/py-awkward/pybind11_02.patch
Valentin Volkl 7c8b5a4e3a
py-awkward: add version 1.2.3 (#23808)
* dlpack: add tagged versions

* py-pybind11: add missing test dependency

* py-awkward: add version 1.2.3
2021-05-20 10:28:57 -06:00

15 lines
374 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ba2c37f..bd7f268 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,7 +96,7 @@ option(PYBUILD "Build Python modules")
# Third tier: Python modules.
if(PYBUILD)
- add_subdirectory(pybind11)
+ find_package(pybind11)
file(GLOB LAYOUT_SOURCES "src/python/*.cpp")
pybind11_add_module(_ext ${LAYOUT_SOURCES})