From: Matthias Maier Date: Mon, 13 Jun 2022 06:50:44 +0000 (-0500) Subject: contrib/python_bindings: set PYTHON_EXECUTABLE X-Git-Tag: v9.4.0-rc1~28^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13964%2Fhead;p=dealii.git contrib/python_bindings: set PYTHON_EXECUTABLE --- 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)