From da42e1e1f7344afab680b75dd9ca0da2fdd30fb9 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 13 Jun 2022 01:50:44 -0500 Subject: [PATCH] contrib/python_bindings: set PYTHON_EXECUTABLE --- contrib/python-bindings/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/python-bindings/CMakeLists.txt b/contrib/python-bindings/CMakeLists.txt index 738066c0ea..50011c11e0 100644 --- a/contrib/python-bindings/CMakeLists.txt +++ b/contrib/python-bindings/CMakeLists.txt @@ -26,8 +26,9 @@ IF(DEAL_II_COMPONENT_PYTHON_BINDINGS) INCLUDE(FindPythonInterp) else() FIND_PACKAGE(Python3) - set(PYTHON_VERSION_MAJOR ${Python3_VERSION_MAJOR}) - set(PYTHON_VERSION_MINOR ${Python3_VERSION_MINOR}) + SET(PYTHON_VERSION_MAJOR ${Python3_VERSION_MAJOR}) + SET(PYTHON_VERSION_MINOR ${Python3_VERSION_MINOR}) + SET(PYTHON_EXECUTABLE ${Python3_EXECUTABLE}) endif() INCLUDE(FindPythonLibs) -- 2.39.5