mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
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.
This commit is contained in:
parent
678db534ff
commit
ce2f1b845f
Notes:
sideshowbarker
2024-07-17 04:54:33 +09:00
Author: https://github.com/timschumi
Commit: ce2f1b845f
Pull-request: https://github.com/SerenityOS/serenity/pull/15746
Issue: https://github.com/SerenityOS/serenity/issues/14376
174 changed files with 386 additions and 384 deletions
|
@ -15,4 +15,4 @@ serenity_bin(CppLanguageServer)
|
|||
|
||||
# We link with LibGUI because we use GUI::TextDocument to update
|
||||
# the content of files according to the edit actions we receive over IPC.
|
||||
target_link_libraries(CppLanguageServer LibIPC LibCpp LibGUI LibLanguageServer LibCppComprehension LibMain)
|
||||
target_link_libraries(CppLanguageServer PRIVATE LibIPC LibCore LibCpp LibGUI LibLanguageServer LibCppComprehension LibMain LibRegex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue