]> https://gitweb.dealii.org/ - dealii.git/commitdiff
contrib/python_bindings: set PYTHON_EXECUTABLE 13964/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 13 Jun 2022 06:50:44 +0000 (01:50 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 13 Jun 2022 06:50:44 +0000 (01:50 -0500)
contrib/python-bindings/CMakeLists.txt

index 738066c0ea1462de032c04695d259220ec406f6c..50011c11e0845c565472d4f46be498e0fd2079bd 100644 (file)
@@ -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)
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.