diff --git a/classes/ros2_distro.bbclass b/classes/ros2_distro.bbclass index 425622a..cdd9e1b 100644 --- a/classes/ros2_distro.bbclass +++ b/classes/ros2_distro.bbclass @@ -7,3 +7,6 @@ inherit ros_distro # ROS1_COMPONENTS is set in conf/ros-distro/ros-distro.conf . def ros_distro__get_component_type(component, d): return bb.utils.contains('ROS1_COMPONENTS', component, 'ros1', 'ros2', d) + +# *.cmake files has hardcoded sysroot-s in them. We assume this is only an issue with ROS 2. +SSTATE_SCAN_FILES_append = " *.cmake"