diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-09-24 12:02:44 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-09-25 06:58:55 +0200 |
commit | dae078e521c3932c66436cbdbfaf5294a1842901 (patch) | |
tree | 0fbe765ea90e7c72a33114706040ed2661a20923 /src/gui/text | |
parent | 1783b048fd4c97e86de4a1122f64eb2afa603cbf (diff) |
CMake: Export 3rdparty dependency find_package calls of private modules
Consider a Qt module with a 3rdparty library target in
PRIVATE_MODULE_INTERFACE, e.g. XKB::XKB in Qt6::GuiPrivate. Consumers of
GuiPrivate automatically depend on XKB::XKB. In order to do that they
must find_package(XKB ...). As all find_package calls for GuiPrivate are
in the same place as the ones for Gui, this package must be marked as
optional. Otherwise all consumers of Qt6::Gui would have to have the
xkbcommon package installed too.
This patch exports find_package calls for every 3rdparty public
dependency of private modules and marks them as optional.
Change-Id: Ia1eeb09c29927fb6634ef08b477684ed6f123267
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/gui/text')
0 files changed, 0 insertions, 0 deletions