summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibChess/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/LibChess/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/LibChess/CMakeLists.txt')
-rw-r--r--Userland/Libraries/LibChess/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibChess/CMakeLists.txt b/Userland/Libraries/LibChess/CMakeLists.txt
index a5e8a23dd5..2a55c8fbce 100644
--- a/Userland/Libraries/LibChess/CMakeLists.txt
+++ b/Userland/Libraries/LibChess/CMakeLists.txt
@@ -5,4 +5,4 @@ set(SOURCES
)
serenity_lib(LibChess chess)
-target_link_libraries(LibChess LibCore)
+target_link_libraries(LibChess PRIVATE LibCore)