summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibMarkdown/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/LibMarkdown/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/LibMarkdown/CMakeLists.txt')
-rw-r--r--Userland/Libraries/LibMarkdown/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibMarkdown/CMakeLists.txt b/Userland/Libraries/LibMarkdown/CMakeLists.txt
index 7a060acebe..db28d0163a 100644
--- a/Userland/Libraries/LibMarkdown/CMakeLists.txt
+++ b/Userland/Libraries/LibMarkdown/CMakeLists.txt
@@ -14,4 +14,4 @@ set(SOURCES
)
serenity_lib(LibMarkdown markdown)
-target_link_libraries(LibMarkdown LibJS)
+target_link_libraries(LibMarkdown PRIVATE LibJS LibRegex)