mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
cmake: Use Python3 if available
This brings support for Distros that use Python3 by default such as Arch Linux.
This commit is contained in:
@@ -246,7 +246,8 @@ else()
|
|||||||
message(STATUS "catkin DISABLED")
|
message(STATUS "catkin DISABLED")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(PythonInterp 2.7 REQUIRED)
|
set(Python_ADDITIONAL_VERSIONS "3"; "2.7")
|
||||||
|
find_package(PythonInterp REQUIRED)
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
# cmake modules
|
# cmake modules
|
||||||
|
|||||||
Reference in New Issue
Block a user