This avoids the following configuration error:
-- Checking for module 'smartcols'
-- No package 'smartcols' found
CMake Error at .../usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message):
A required package was not found
which happens if glib-2.0 is configured without the libmount
PACKAGECONFIG that otherwise depends on util-linux.
Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
S = "${WORKDIR}/git"
-DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native"
+DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native util-linux"
inherit gtk-doc gobject-introspection cmake pkgconfig setuptools3-base