[clangd] Fix linker error when linking clang-index-server with shared libraries
authorNathan Ridge <zeratul976@hotmail.com>
Mon, 22 Mar 2021 05:30:18 +0000 (01:30 -0400)
committerNathan Ridge <zeratul976@hotmail.com>
Mon, 22 Mar 2021 06:38:58 +0000 (02:38 -0400)
Fixes https://github.com/clangd/clangd/issues/723

Differential Revision: https://reviews.llvm.org/D99049

clang-tools-extra/clangd/index/remote/server/CMakeLists.txt

index 90b62ca..f1131e5 100644 (file)
@@ -14,6 +14,7 @@ target_link_libraries(clangd-index-server
   clangDaemon
   clangdSupport
 
+  MonitoringServiceProto
   RemoteIndexProto
   RemoteIndexServiceProto
   clangdRemoteMarshalling