Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cmake: more informative error message
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 7 Jun 2019 08:27:46 +0000 (10:27 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 7 Jun 2019 08:27:46 +0000 (10:27 +0200)
CMakeLists.txt

index c91ed49..fe961c1 100644 (file)
@@ -790,7 +790,7 @@ if((NOT DEFINED enable_python) OR enable_python)
     else()
       find_package(pybind11 CONFIG)
       if (pybind11_VERSION VERSION_LESS 2.2)
-        message(STATUS "SimGrid needs at least v2.2 of pybind11. Disabling the Python bindings.")
+        message(STATUS "SimGrid needs at least v2.2 of pybind11. Disabling the Python bindings (found version: ${pybind11_VERSION}).")
         set(pybind11_FOUND OFF)
       endif()
     endif()