[PATCH] D46906: [clangd] Fix a link failure in unittests

Heejin Ahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 15 15:16:13 PDT 2018


aheejin created this revision.
aheejin added a reviewer: sammccall.
Herald added subscribers: cfe-commits, jkorous, MaskRay, ioeric, ilya-biryukov, mgorny, klimek.
aheejin edited the summary of this revision.

https://reviews.llvm.org/D46524 (https://reviews.llvm.org/rL332378) introduced a link failure when built with `-DSHARED_LIB=ON`, which this patch fixes.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D46906

Files:
  unittests/clangd/CMakeLists.txt


Index: unittests/clangd/CMakeLists.txt
===================================================================
--- unittests/clangd/CMakeLists.txt
+++ unittests/clangd/CMakeLists.txt
@@ -38,6 +38,7 @@
 
 target_link_libraries(ClangdTests
   PRIVATE
+  clangAST
   clangBasic
   clangDaemon
   clangFormat


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46906.146931.patch
Type: text/x-patch
Size: 301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180515/4621acc9/attachment.bin>


More information about the cfe-commits mailing list