Browse Source

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.
sbg
Lorenz Meier 9 years ago committed by GitHub
parent
commit
723d3c121a
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -245,7 +245,7 @@ else() @@ -245,7 +245,7 @@ else()
message(STATUS "catkin DISABLED")
endif()
find_package(PythonInterp REQUIRED)
find_package(PythonInterp 2.7 REQUIRED)
#=============================================================================
# cmake modules

Loading…
Cancel
Save