From 723d3c121a7c8d584ebdb91e7450332acba3a700 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 3 Sep 2016 12:33:48 +0200 Subject: [PATCH] Find and use Python 2 (#5442) This will make the build works in distros that have Python 3 as default and will not break anything in distros that have Python 2 as default. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index acc9c7da80..1526bbc1e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -245,7 +245,7 @@ else() message(STATUS "catkin DISABLED") endif() -find_package(PythonInterp REQUIRED) +find_package(PythonInterp 2.7 REQUIRED) #============================================================================= # cmake modules