diff --git a/conf/layer.conf b/conf/layer.conf index c382bd6..cf539eb 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -17,9 +17,11 @@ LAYERDEPENDS_ros-layer = " \ core \ meta-python \ openembedded-layer \ - qt5-layer \ " +# We only need meta-qt5 if Qt5 has been enabled. +LAYERDEPENDS_ros-layer += "${@bb.utils.contains('DISTRO_FEATURES', 'ros-qt', 'qt5-layer', '', d)}" + require conf/ros-distro/ros-distro.conf # Only .bb files are generated