From 32051efcf56c7f238352126c3c9e1b43afa6c384 Mon Sep 17 00:00:00 2001
From: JM Etancelin <jean-matthieu.etancelin@univ-pau.fr>
Date: Wed, 17 Mar 2021 16:40:24 +0100
Subject: [PATCH] Fix cmake output with new FindPython

---
 CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c25d53c4c..1d4e033dc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -517,9 +517,9 @@ endif()
 if(VERBOSE_MODE)
   message("\n====================== End of configuration process ======================")
   message("\n Summary: ")
-  message(STATUS " Python libraries : ${PYTHON_LIBRARIES}")
-  message(STATUS " Python include : ${PYTHON_INCLUDE_DIRS}")
-  message(STATUS " Python version : ${PYTHON_VERSION_STRING}")
+  message(STATUS " Python libraries : ${Python_LIBRARY_DIRS}")
+  message(STATUS " Python include : ${Python_INCLUDE_DIRS}")
+  message(STATUS " Python version : ${Python_VERSION}")
   message(STATUS " Python executable : ${PYTHON_EXECUTABLE}")
   message(STATUS " Install mode is `${HYSOP_INSTALL}` and ${PACKAGE_NAME} will be installed in : ${HYSOP_PYTHON_INSTALL_DIR}")
   message(STATUS " ${PACKAGE_NAME} will be built in ${HYSOP_BUILD_PYTHONPATH}")
-- 
GitLab