forked from OSchip/llvm-project
[clangd] Fix remote-server build and add it to check-clangd
Differential Revision: https://reviews.llvm.org/D90047
This commit is contained in:
parent
69e2797eae
commit
5dd39923a0
|
@ -33,8 +33,6 @@
|
|||
#include <memory>
|
||||
#include <thread>
|
||||
|
||||
#include "Index.grpc.pb.h"
|
||||
|
||||
namespace clang {
|
||||
namespace clangd {
|
||||
namespace remote {
|
||||
|
|
|
@ -21,6 +21,10 @@ if(CLANGD_BUILD_XPC)
|
|||
list(APPEND CLANGD_TEST_DEPS ClangdXpcUnitTests)
|
||||
endif()
|
||||
|
||||
if(CLANGD_ENABLE_REMOTE)
|
||||
list(APPEND CLANGD_TEST_DEPS clangd-index-server)
|
||||
endif()
|
||||
|
||||
foreach(dep FileCheck count not llvm-config)
|
||||
if(TARGET ${dep})
|
||||
list(APPEND CLANGD_TEST_DEPS ${dep})
|
||||
|
|
Loading…
Reference in New Issue