[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
This commit is contained in:
Kirill Bobyrev 2020-10-26 07:08:49 +01:00
parent 5a061041ec
commit 15f6bad6d7
No known key found for this signature in database
GPG Key ID: 2307C055C8384FA0
1 changed files with 1 additions and 0 deletions

View File

@ -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}/../../)