summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2022-02-10 16:52:31 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-10 17:01:57 +0000
commitf9e33dc6ea33f5c4045eb4d33256221d1e78a670 (patch)
tree732d3e065fcd7385f09a0b5d15c9ac7034bd81a1
parent4827b29ef2e57ce779431daea2a0fc20e05a8d5f (diff)
downloadqtapplicationmanager-f9e33dc6ea33f5c4045eb4d33256221d1e78a670.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.txt3
-rw-r--r--src/window-lib/CMakeLists.txt4
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
)