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.
This commit is contained in:
Julian Oes 2016-11-21 12:14:39 +01:00 committed by Simone Guscetti
parent 4ea72f35ed
commit 7a698952fb

View File

@ -246,7 +246,6 @@ else()
message(STATUS "catkin DISABLED")
endif()
set(Python_ADDITIONAL_VERSIONS "3"; "2.7")
find_package(PythonInterp REQUIRED)
#=============================================================================