From 7a698952fbe386d190a40cf3ba68fba18d1fbfa6 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Mon, 21 Nov 2016 12:14:39 +0100 Subject: [PATCH] cmake: use default Python version If the Python versions are specified, this breaks the build on Ubuntu systems where Python3 is also installed but the extensions such as python-empy are not installed. One could, of course, install python3-empy to fix this but that's not in the instructions or error messages and therefore not straightforward. It is therefore probably better to just use the system default which ends up being 2.7 on Ubuntu. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 549ea5581a..7e981274b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -246,7 +246,6 @@ else() message(STATUS "catkin DISABLED") endif() -set(Python_ADDITIONAL_VERSIONS "3"; "2.7") find_package(PythonInterp REQUIRED) #=============================================================================