use python3 as default
This commit is contained in:
committed by
Vladimir Ermakov
parent
dd6b16ac2e
commit
9b5e93633e
@@ -20,8 +20,8 @@ set(CMAKE_INSTALL_LIBDIR lib)
|
||||
if (DEFINED ENV{ROS_PYTHON_VERSION})
|
||||
set(Py_VERSION $ENV{ROS_PYTHON_VERSION})
|
||||
else()
|
||||
message(WARNING "ENV ROS_PYTHON_VERSION is not set. Use default: 2")
|
||||
set(Py_VERSION "2")
|
||||
message(WARNING "ENV ROS_PYTHON_VERSION is not set. Use default: 3")
|
||||
set(Py_VERSION "3")
|
||||
endif()
|
||||
|
||||
if (NOT CMAKE_VERSION VERSION_LESS "3.12")
|
||||
|
||||
Reference in New Issue
Block a user