Fixed broken pybind11 target check (#28)
* Fixed broken pybind11 target check * Update python/CMakeLists.txt Co-authored-by: Bram Veenboer <bram.veenboer@gmail.com> --------- Co-authored-by: Bram Veenboer <bram.veenboer@gmail.com>
This commit is contained in:
committed by
GitHub
parent
0f7fd06be8
commit
9d3af8c202
@@ -1,4 +1,6 @@
|
|||||||
if(NOT TARGET pybind11)
|
find_package(pybind11 CONFIG QUIET)
|
||||||
|
|
||||||
|
if(NOT pybind11_FOUND)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
pybind11
|
pybind11
|
||||||
GIT_REPOSITORY https://github.com/pybind/pybind11.git
|
GIT_REPOSITORY https://github.com/pybind/pybind11.git
|
||||||
|
|||||||
Reference in New Issue
Block a user