summaryrefslogtreecommitdiff
path: root/Userland/Applications/ImageViewer
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-10-21 21:43:56 +0200
committerLinus Groh <mail@linusgroh.de>2022-11-01 14:49:09 +0000
commitce2f1b845fbd94013e36377aaa7375466cf1241d (patch)
tree04b2c31571a3397a9b88d7df6912504b6c59ca73 /Userland/Applications/ImageViewer
parent678db534ff772cb9d35d7edf10af8a9f89ad3638 (diff)
downloadserenity-ce2f1b845fbd94013e36377aaa7375466cf1241d.zip
Everywhere: Mark dependencies of most targets as PRIVATE
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
Diffstat (limited to 'Userland/Applications/ImageViewer')
-rw-r--r--Userland/Applications/ImageViewer/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/ImageViewer/CMakeLists.txt b/Userland/Applications/ImageViewer/CMakeLists.txt
index 7cd703fe82..3efd0a6255 100644
--- a/Userland/Applications/ImageViewer/CMakeLists.txt
+++ b/Userland/Applications/ImageViewer/CMakeLists.txt
@@ -11,4 +11,4 @@ set(SOURCES
)
serenity_app(ImageViewer ICON filetype-image)
-target_link_libraries(ImageViewer LibDesktop LibGUI LibGfx LibImageDecoderClient LibMain)
+target_link_libraries(ImageViewer PRIVATE LibCore LibDesktop LibGUI LibGfx LibImageDecoderClient LibMain)