From 139d4175c78168d2dc9cbc14419cd7c5f6c02be2 Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Mon, 9 Jan 2017 23:24:14 +0100 Subject: build: Only search for python2, version 3 is not supported --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') 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") -- cgit v1.2.3