diff options
author | Robert Griebl <robert.griebl@qt.io> | 2022-02-10 16:52:31 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-02-10 17:01:57 +0000 |
commit | d38311dd62311e9794c0279cd80f43da349440b4 (patch) | |
tree | cacd8d9392c481b47ed9fe01538ae4e21ff5c6e0 | |
parent | b9f9bf99b034123d30f9306b7d1a3bf1c503281c (diff) | |
download | qtapplicationmanager-d38311dd62311e9794c0279cd80f43da349440b4.tar.gz |
Make sure to mark external dependencies as such via PUBLIC_LIBRARIES
Change-Id: Ibfeb775624650e4bfca3233bcd362789fefd2593
Fixes: QTBUG-100701
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
(cherry picked from commit 5e50996b9dd599625032a4b31da17cfbefc436b4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/3rdparty/libarchive/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/window-lib/CMakeLists.txt | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/3rdparty/libarchive/CMakeLists.txt b/src/3rdparty/libarchive/CMakeLists.txt index fbb44bf9..3a3619f9 100644 --- a/src/3rdparty/libarchive/CMakeLists.txt +++ b/src/3rdparty/libarchive/CMakeLists.txt @@ -138,8 +138,9 @@ if (QT_FEATURE_system_zlib) else() qt_internal_extend_target(BundledLibArchive LIBRARIES - Qt::Core Qt::ZlibPrivate + PUBLIC_LIBRARIES + Qt::Core ) endif() diff --git a/src/window-lib/CMakeLists.txt b/src/window-lib/CMakeLists.txt index 8b3b5f89..9f35631f 100644 --- a/src/window-lib/CMakeLists.txt +++ b/src/window-lib/CMakeLists.txt @@ -39,9 +39,10 @@ if(QT_FEATURE_am_multi_process) waylandcompositor.cpp waylandcompositor.h waylandqtamserverextension.cpp waylandqtamserverextension_p.h waylandwindow.cpp waylandwindow.h + LIBRARIES + Qt::WaylandCompositorPrivate PUBLIC_LIBRARIES Qt::WaylandCompositor - Qt::WaylandCompositorPrivate ) endif() @@ -50,6 +51,7 @@ qt_internal_extend_target(AppManWindowPrivate CONDITION QT_FEATURE_am_touch_emul touchemulation_x11.cpp touchemulation_x11_p.h LIBRARIES Qt::GuiPrivate + PUBLIC_LIBRARIES Qt::Test X11::Xi ) |