aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa70f8cde..c19d5b3d9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -304,6 +304,7 @@ if(ENABLE_PBINS)
endif()
if(ENABLE_PYTHON)
+ set(Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5)
find_package(PythonInterp)
if(NOT PYTHONINTERP_FOUND)
message(SEND_ERROR "python is required for python support")