qtserialport: inherit pkgconfig

Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
CMake Error at TOPDIR/BUILD/work/raspberrypi4-webos-linux-gnueabi/qtserialport/6.2.0-r0/recipe-sysroot/usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:2063 (add_library):
  Target "SerialPort" links to target "PkgConfig::Libudev" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

Change-Id: I2c1549f22bebf3c091485644574cbc46402c4996
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit f475a94185)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Martin Jansa 2021-09-30 01:02:37 -07:00 committed by Qt Cherry-pick Bot
parent 9470ebe195
commit 49d6c23cdf

View File

@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
"
inherit qt6-cmake
inherit qt6-cmake pkgconfig
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc