CMake: Add public dependency from Qt::Dbus to Qt::Core

Anything that uses Qt::Dbus also needs to link to Qt::Core, so encode
that in the target.

Change-Id: Ibc984d5b5e118aae8d1c0d21117fcff1664b0ae3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Tobias Hunger 2019-03-20 12:11:47 +01:00
parent dedc645510
commit 432f7232e3

View File

@ -43,6 +43,8 @@ add_qt_module(DBus
QT_NO_FOREACH
LIBRARIES
Qt::CorePrivate
PUBLIC_LIBRARIES
Qt::Core # special case
# MODULE_CONFIG = "dbusadaptors" "dbusinterfaces"
# _LOADED = "qt_module"
)