changed: check for pre-existing pybind11 target

this is necessary to allow building all modules in a 'super-build'
This commit is contained in:
Arne Morten Kvarving 2020-04-14 09:15:26 +02:00
parent a7126f45cd
commit 3d48a1d344

View File

@ -1,2 +1,3 @@
add_subdirectory( pybind11 )
if(NOT TARGET pybind11)
add_subdirectory( pybind11 )
endif()