From 40a7b89f13fd20ba68b00751eb50e4a251106aab Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Fri, 25 May 2018 19:13:34 +0200 Subject: [PATCH] [CMake] Allow any python version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 35123ca0d..d8666076d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,7 +127,7 @@ SET(BOOST_OPTIONAL_COMPONENTS "") IF(BUILD_PYTHON_INTERFACE) SET(BOOST_OPTIONAL_COMPONENTS ${BOOST_OPTIONAL_COMPONENTS} python) - FINDPYTHON(2.7 EXACT REQUIRED) + FINDPYTHON() INCLUDE_DIRECTORIES(SYSTEM ${PYTHON_INCLUDE_DIRS}) ENDIF(BUILD_PYTHON_INTERFACE) -- GitLab