Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cmake: print pybind11 version.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 24 Jan 2020 22:23:55 +0000 (23:23 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 24 Jan 2020 22:30:40 +0000 (23:30 +0100)
CMakeLists.txt

index 5b0f0da..0669a57 100644 (file)
@@ -802,8 +802,9 @@ if((NOT DEFINED enable_python) OR enable_python)
 
     else()
       find_package(pybind11 CONFIG)
+      message(STATUS "Pybind11 version: ${pybind11_VERSION}")
       if (pybind11_VERSION VERSION_LESS 2.2)
-        message(STATUS "SimGrid needs at least v2.2 of pybind11. Disabling the Python bindings (found version: ${pybind11_VERSION}).")
+        message(STATUS "SimGrid needs at least v2.2 of pybind11. Disabling the Python bindings.")
         set(pybind11_FOUND OFF)
       endif()
     endif()