summaryrefslogtreecommitdiffstats
path: root/host/Modules
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-11 12:46:25 -0800
committerJosh Blum <josh@joshknows.com>2011-03-11 12:46:25 -0800
commite49f94f4c74c783f822b3e2e5b1844bda11fe85f (patch)
tree3cdb0d69a81cbf46ab1fc2f62ddd94f5f2e84a14 /host/Modules
parent9b2ae7e07787b248328ecbe44c07695bb6a796f2 (diff)
downloaduhd-e49f94f4c74c783f822b3e2e5b1844bda11fe85f.tar.gz
uhd-e49f94f4c74c783f822b3e2e5b1844bda11fe85f.tar.bz2
uhd-e49f94f4c74c783f822b3e2e5b1844bda11fe85f.zip
uhd: offer alternative named for python binary (seen on ubuntu server)
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)