From 3bbe97b4444e3e064c55dae1998ee34e6c71cf4d Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Tue, 22 Sep 2020 11:58:11 +0200 Subject: CMake: Expose XKB::XKB as public dependency of Qt::GuiPrivate Headers of xkbcommon are used in private headers, and consumers of Qt::GuiPrivate should automatically link against XKB::XKB. Change-Id: I99c67b5f291f64b529aed1499a00a215b5db3be2 Reviewed-by: Alexandru Croitor --- src/gui/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/CMakeLists.txt') diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 29ae78aa04..e4849939fc 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -1001,6 +1001,10 @@ qt_internal_extend_target(Gui CONDITION QT_FEATURE_xkbcommon AND UNIX platform/unix/qxkbcommon_3rdparty.cpp LIBRARIES XKB::XKB +# special case begin + PRIVATE_MODULE_INTERFACE + XKB::XKB +# special case end ) qt_internal_extend_target(Gui CONDITION IOS OR MACOS -- cgit v1.2.3