From b2dfa0b840e7e74c3849c6ffe195f0e0aa4a73d8 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 23 May 2017 10:17:48 +0000 Subject: [PATCH] [clangd] Pick up deps via LLVM components, which will hopefully include pthread. llvm-svn: 303623 --- clang-tools-extra/clangd/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/clang-tools-extra/clangd/CMakeLists.txt b/clang-tools-extra/clangd/CMakeLists.txt index 00529d6..3c0bf04 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) -- 2.7.4