[clangd] Fix shared lib builds

This commit is contained in:
Kadir Cetinkaya 2023-01-20 08:57:08 +01:00
parent 6b2e29c508
commit 2133e8b9f9
No known key found for this signature in database
GPG Key ID: E39E36B8D2057ED6
3 changed files with 8 additions and 7 deletions

View File

@ -163,7 +163,6 @@ clang_target_link_libraries(clangDaemon
clangDriver
clangFormat
clangFrontend
clangIncludeCleaner
clangIndex
clangLex
clangSema
@ -179,11 +178,11 @@ target_link_libraries(clangDaemon
PRIVATE
${LLVM_PTHREAD_LIB}
clangIncludeCleaner
clangPseudo
clangTidy
clangdSupport
clangPseudo
)
if(CLANGD_TIDY_CHECKS)
target_link_libraries(clangDaemon PRIVATE ${ALL_CLANG_TIDY_CHECKS})

View File

@ -14,7 +14,6 @@ clang_target_link_libraries(clangd-fuzzer
clangBasic
clangFormat
clangFrontend
clangIncludeCleaner
clangSema
clangTooling
clangToolingCore
@ -22,5 +21,6 @@ clang_target_link_libraries(clangd-fuzzer
target_link_libraries(clangd-fuzzer
PRIVATE
clangDaemon
clangIncludeCleaner
clangdSupport
)

View File

@ -164,11 +164,13 @@ clang_target_link_libraries(ClangdTests
)
target_link_libraries(ClangdTests
PRIVATE
clangDaemon
clangdSupport
clangTidy
LLVMTestingAnnotations
LLVMTestingSupport
clangDaemon
clangIncludeCleaner
clangTidy
clangdSupport
)
if (CLANGD_ENABLE_REMOTE)