diff --git a/conf/layer.conf b/conf/layer.conf index cf539eb..e7826db 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -20,7 +20,10 @@ LAYERDEPENDS_ros-layer = " \ " # We only need meta-qt5 if Qt5 has been enabled. -LAYERDEPENDS_ros-layer += "${@bb.utils.contains('DISTRO_FEATURES', 'ros-qt', 'qt5-layer', '', d)}" +LAYERDEPENDS_ros-layer += "${@bb.utils.contains('DISTRO_FEATURES', 'ros-qt5', 'qt5-layer', '', d)}" + +# We only need meta-intel-realsense if RealSense has been enabled. +LAYERDEPENDS_ros-layer += "${@bb.utils.contains('DISTRO_FEATURES', 'ros-realsense', 'intel-realsense', '', d)}" require conf/ros-distro/ros-distro.conf