From e49f94f4c74c783f822b3e2e5b1844bda11fe85f Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 11 Mar 2011 12:46:25 -0800 Subject: uhd: offer alternative named for python binary (seen on ubuntu server) --- host/Modules/UHDPython.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host') 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) -- cgit v1.2.3