summaryrefslogtreecommitdiff
path: root/Tests/LibCore
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 /Tests/LibCore
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 'Tests/LibCore')
-rw-r--r--Tests/LibCore/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/LibCore/CMakeLists.txt b/Tests/LibCore/CMakeLists.txt
index e099250646..dd5aed2943 100644
--- a/Tests/LibCore/CMakeLists.txt
+++ b/Tests/LibCore/CMakeLists.txt
@@ -13,7 +13,7 @@ foreach(source IN LISTS TEST_SOURCES)
endforeach()
# NOTE: Required because of the LocalServer tests
-target_link_libraries(TestLibCoreStream LibThreading)
-target_link_libraries(TestLibCoreSharedSingleProducerCircularQueue LibThreading)
+target_link_libraries(TestLibCoreStream PRIVATE LibThreading)
+target_link_libraries(TestLibCoreSharedSingleProducerCircularQueue PRIVATE LibThreading)
install(FILES long_lines.txt 10kb.txt small.txt DESTINATION usr/Tests/LibCore)