X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2ea993e0850fee75ea52d854326103caa280ae6f..52cdab43b062ef34f83de8c8ced7c29f43b2d16d:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fbcead2e3..a53bc852b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -773,6 +773,9 @@ endif() # Python binding (with pybind11) ################ +if(EXISTS pybind11) # Try to use a local copy of pybind11, if any + add_subdirectory(pybind11) +endif() # Our usage of pybind11::overload_cast mandates C++14 get_property(known_features GLOBAL PROPERTY CMAKE_CXX_KNOWN_FEATURES)