mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
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.
This commit is contained in:
@@ -245,7 +245,7 @@ else()
|
|||||||
message(STATUS "catkin DISABLED")
|
message(STATUS "catkin DISABLED")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(PythonInterp REQUIRED)
|
find_package(PythonInterp 2.7 REQUIRED)
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
# cmake modules
|
# cmake modules
|
||||||
|
|||||||
Reference in New Issue
Block a user