summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCrypt/CMakeLists.txt
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/Libraries/LibCrypt/CMakeLists.txt
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/Libraries/LibCrypt/CMakeLists.txt')
-rw-r--r--Userland/Libraries/LibCrypt/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCrypt/CMakeLists.txt b/Userland/Libraries/LibCrypt/CMakeLists.txt
index 76eb50b683..78e5737a6a 100644
--- a/Userland/Libraries/LibCrypt/CMakeLists.txt
+++ b/Userland/Libraries/LibCrypt/CMakeLists.txt
@@ -11,4 +11,4 @@ set(SOURCES
)
serenity_lib(LibCrypt crypt)
-target_link_libraries(LibCrypt LibCryptSHA2)
+target_link_libraries(LibCrypt PRIVATE LibCryptSHA2)