From: Martin Quinson Date: Thu, 27 Dec 2018 19:39:04 +0000 (+0100) Subject: Old pybind11 cannot be used X-Git-Tag: v3_22~746 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/be76c6714e103a5df55bdd911c689f667e472b8a Old pybind11 cannot be used We need PYBIND11_MODULE, that do not seem usable before v2.2.0 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c8cbaee659..28657b2385 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -849,7 +849,7 @@ endif() # Python binding, generated with pybind11 set(PYBIND11_CPP_STANDARD -std=c++11) -find_package(pybind11) +find_package(pybind11 2.2.0) if(NOT PYTHONLIBS_FOUND) set(pybind11_FOUND OFF) endif()