diff options
-rw-r--r-- | clang-tools-extra/clangd/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/clang-tools-extra/clangd/CMakeLists.txt b/clang-tools-extra/clangd/CMakeLists.txt index 00529d6f932..3c0bf04c708 100644 --- a/clang-tools-extra/clangd/CMakeLists.txt +++ b/clang-tools-extra/clangd/CMakeLists.txt @@ -1,3 +1,7 @@ +set(LLVM_LINK_COMPONENTS + Support + ) + add_clang_library(clangDaemon ClangdLSPServer.cpp ClangdServer.cpp @@ -8,16 +12,14 @@ add_clang_library(clangDaemon JSONRPCDispatcher.cpp Protocol.cpp ProtocolHandlers.cpp - ) -target_link_libraries(clangDaemon + LINK_LIBS clangBasic clangFormat clangFrontend clangSema clangTooling clangToolingCore - LLVMSupport ) add_subdirectory(tool) |