From 88333384b3eb40ca300f489438a5b432556cbe7d Mon Sep 17 00:00:00 2001
From: Gabriel Studer <gabriel.studer@unibas.ch>
Date: Sun, 8 Nov 2020 21:23:31 +0100
Subject: [PATCH] its Python_ROOT_DIR not PYTHON_ROOT

---
 cmake_support/FindOPENSTRUCTURE.cmake | 2 +-
 doc/buildsystem.rst                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake_support/FindOPENSTRUCTURE.cmake b/cmake_support/FindOPENSTRUCTURE.cmake
index 7677d6c0..4ba14ca4 100644
--- a/cmake_support/FindOPENSTRUCTURE.cmake
+++ b/cmake_support/FindOPENSTRUCTURE.cmake
@@ -27,7 +27,7 @@ macro(find_OPENSTRUCTURE OST_ROOT HEADER_NAMES PYMOD_NAME)
     set(FOUND_LIB FOUND_LIB-NOTFOUND)
     find_library(FOUND_LIB 
       NAMES ost_${LIB}
-      HINTS "${Python_ROOT}"
+      HINTS "${Python_ROOT_DIR}"
       PATH ${OST_ROOT}
       PATH_SUFFIXES lib lib64
       NO_SYSTEM_ENVIRONMENT_PATH NO_DEFAULT_PATH
diff --git a/doc/buildsystem.rst b/doc/buildsystem.rst
index 0a3449d5..136280e2 100644
--- a/doc/buildsystem.rst
+++ b/doc/buildsystem.rst
@@ -65,7 +65,7 @@ headers would be located in ``OST_ROOT/include/ost``).
 Similarly, one can specify folders for |boost|, |python| and |eigen3| 
 if multiple versions exist and/or they are not installed in a default location.
 These are set with the ``BOOST_ROOT`` (make sure that's the same as for |ost_s|), 
-``Python_ROOT`` and ``EIGEN3_INCLUDE_DIR``.
+``Python_ROOT_DIR`` and ``EIGEN3_INCLUDE_DIR``.
 
 Here is a list of more options used within |project|:
 
-- 
GitLab