[clang-tools-extra] 15f6bad - [clangd] Add dependency on remote index service proto
Kirill Bobyrev via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 25 23:09:43 PDT 2020
Author: Kirill Bobyrev
Date: 2020-10-26T07:08:49+01:00
New Revision: 15f6bad6d74a993e366c8fc93a9c91f213ac6bc3
URL: https://github.com/llvm/llvm-project/commit/15f6bad6d74a993e366c8fc93a9c91f213ac6bc3
DIFF: https://github.com/llvm/llvm-project/commit/15f6bad6d74a993e366c8fc93a9c91f213ac6bc3.diff
LOG: [clangd] Add dependency on remote index service proto
It requires Index.proto to be built first. Failed builds:
https://github.com/clangd/clangd/runs/1305985916
Added:
Modified:
clang-tools-extra/clangd/index/remote/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/index/remote/CMakeLists.txt b/clang-tools-extra/clangd/index/remote/CMakeLists.txt
index 94f5699b42d6..e3782d9701c7 100644
--- a/clang-tools-extra/clangd/index/remote/CMakeLists.txt
+++ b/clang-tools-extra/clangd/index/remote/CMakeLists.txt
@@ -1,6 +1,7 @@
if (CLANGD_ENABLE_REMOTE)
generate_protos(RemoteIndexServiceProto "Service.proto" GRPC)
generate_protos(RemoteIndexProto "Index.proto")
+ add_dependencies(RemoteIndexServiceProto RemoteIndexProto)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../)
More information about the cfe-commits
mailing list