From: Martin Quinson Date: Fri, 7 Jun 2019 08:27:46 +0000 (+0200) Subject: cmake: more informative error message X-Git-Tag: v3.23~56 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ffe3eb0c3dc01fd2357754d71ba6b43a7224e443?hp=5bc5bbc9cc243be27f54aa35c822430e8e57bc95 cmake: more informative error message --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c91ed492ec..fe961c192d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()