Add ROS_ROOT configuration for cross-compilation
Add ROS_ROOT argument to compose.yaml, update toolchain CMake to search in ROS_ROOT, and modify final stage of Dockerfiles to copy to ROS_ROOT instead of TARGET_SYSROOT. Also add support for ROS2 lyrical distro.
This commit is contained in:
@@ -12,6 +12,7 @@ set(CMAKE_CXX_COMPILER ${SYSROOT}/bin/aarch64-none-linux-gnu-g++)
|
||||
|
||||
list(APPEND CMAKE_FIND_ROOT_PATH
|
||||
$ENV{TARGET_SYSROOT}
|
||||
$ENV{ROS_ROOT}
|
||||
${CMAKE_INSTALL_PREFIX}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user