Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Improve how we search for pybind11
[simgrid.git] / CMakeLists.txt
index 362a0f0..6d5b8ad 100644 (file)
@@ -794,7 +794,7 @@ if((NOT DEFINED enable_python) OR enable_python)
       find_package(PythonLibsNew ${PYBIND11_PYTHON_VERSION} REQUIRED)
 
     else()
-      find_package(pybind11 2.2.0)
+      find_package(pybind11 CONFIG)
     endif()
 
     if(NOT PYTHONLIBS_FOUND)