Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Old pybind11 cannot be used
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Thu, 27 Dec 2018 19:39:04 +0000 (20:39 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Thu, 27 Dec 2018 19:39:07 +0000 (20:39 +0100)
We need PYBIND11_MODULE, that do not seem usable before v2.2.0

CMakeLists.txt

index c8cbaee..28657b2 100644 (file)
@@ -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()