[clangd] Fix remote index build on macOS
authorKirill Bobyrev <kbobyrev@google.com>
Fri, 31 Jul 2020 12:02:19 +0000 (14:02 +0200)
committerKirill Bobyrev <kbobyrev@google.com>
Fri, 31 Jul 2020 12:02:24 +0000 (14:02 +0200)
commit2978b10aa164f692d48041327e27b2811649a233
treedf1ffad029bbd1b30203e645d8937597ce2b6929
parentacb3b8dce1cd7ed25a137c718678449dd2d77f79
[clangd] Fix remote index build on macOS

macOS builds suddenly started failing:

https://github.com/kirillbobyrev/indexing-tools/runs/925090879

This patch makes use of imported libraries and fixes builds for macOS.

Landing this without a review since the patch is quite straightforward
and I've been testing it on my local macOS machine for a while.

Differential Revision: https://reviews.llvm.org/D84928
llvm/cmake/modules/FindGRPC.cmake