summaryrefslogtreecommitdiffstats
path: root/host/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'host/Modules')
-rw-r--r--host/Modules/UHDPython.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/Modules/UHDPython.cmake b/host/Modules/UHDPython.cmake
index cad549ea4..345e0187d 100644
--- a/host/Modules/UHDPython.cmake
+++ b/host/Modules/UHDPython.cmake
@@ -31,7 +31,7 @@ ELSE(PYTHON_EXECUTABLE)
#and if that fails use the find program routine
IF(NOT PYTHONINTERP_FOUND)
- FIND_PROGRAM(PYTHON_EXECUTABLE python)
+ FIND_PROGRAM(PYTHON_EXECUTABLE NAMES python python2.7 python2.6)
IF(PYTHON_EXECUTABLE)
SET(PYTHONINTERP_FOUND TRUE)
ENDIF(PYTHON_EXECUTABLE)