Closed mjcarroll closed 2 years ago
ROS1 packages aren't available on all platforms. In order to keep ros1_bridge in ros2.repos without warnings turning CI yellow, we need to suppress this warning.
This is an alternative to https://github.com/ros2/ros2/pull/1256
This will require packing CI jobs to be updated with a new cmake arg -DROS1_PACKAGES_UNAVAILABLE=true for Jammy jobs.
-DROS1_PACKAGES_UNAVAILABLE=true
$ colcon build --packages-select ros1_bridge Starting >>> ros1_bridge --- stderr: ros1_bridge CMake Warning at CMakeLists.txt:36 (message): Failed to find ROS 1 roscpp, skipping... --- Finished <<< ros1_bridge [2.30s]
vs
colcon build --packages-select ros1_bridge --cmake-args -DROS1_PACKAGES_UNAVAILABLE=1 Starting >>> ros1_bridge Finished <<< ros1_bridge [2.36s] Summary: 1 package finished [3.37s]
Signed-off-by: Michael Carroll michael@openrobotics.org
ROS1 packages aren't available on all platforms. In order to keep ros1_bridge in ros2.repos without warnings turning CI yellow, we need to suppress this warning.
This is an alternative to https://github.com/ros2/ros2/pull/1256
This will require packing CI jobs to be updated with a new cmake arg
-DROS1_PACKAGES_UNAVAILABLE=true
for Jammy jobs.vs
Signed-off-by: Michael Carroll michael@openrobotics.org