We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee655a8 commit faeb7deCopy full SHA for faeb7de
cmake/FindPython.cmake
@@ -32,7 +32,7 @@ endif()
32
33
# IF PYTHON_EXECUTABLE is not defined, try to find a python
34
if(NOT PYTHON_EXECUTABLE)
35
- find_program(PYTHON_EXECUTABLE NAMES python python3 PATHS $ENV{PATH} DOC "Path to the Python interpreter")
+ find_program(PYTHON_EXECUTABLE NAMES python3 python PATHS $ENV{PATH} DOC "Path to the Python interpreter")
36
endif(NOT PYTHON_EXECUTABLE)
37
38
message(FATAL_ERROR "No python interpreter found")
0 commit comments