From aa2ff1bc4650bf30c5076db35925239e190054c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20K=C3=B6ster?= Date: Fri, 6 Nov 2015 16:01:38 +0100 Subject: [PATCH] Fix python version check to automatically find 2.7 --- python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 8fe7767..4e69de0 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -1,4 +1,4 @@ -FIND_PACKAGE(PythonInterp) +FIND_PACKAGE(PythonInterp 2.7) # also check that setuptools is available IF(PYTHONINTERP_FOUND AND ((NOT PYTHON_VERSION_MAJOR) OR (PYTHON_VERSION_MAJOR EQUAL 2)) AND NOT SETUPTOOLS_FOUND) -- 1.9.1