[PATCH] D38228: Fix clangd when built with LLVM_LINK_LLVM_DYLIB=ON

Sylvestre Ledru via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 25 05:05:09 PDT 2017


sylvestre.ledru created this revision.
Herald added subscribers: ilya-biryukov, mgorny.

https://reviews.llvm.org/D38228

Files:
  clangd/tool/CMakeLists.txt


Index: clangd/tool/CMakeLists.txt
===================================================================
--- clangd/tool/CMakeLists.txt
+++ clangd/tool/CMakeLists.txt
@@ -6,6 +6,10 @@
 
 install(TARGETS clangd RUNTIME DESTINATION bin)
 
+set(LLVM_LINK_COMPONENTS
+  support
+  )
+
 target_link_libraries(clangd
   clangBasic
   clangDaemon
@@ -14,5 +18,4 @@
   clangSema
   clangTooling
   clangToolingCore
-  LLVMSupport
   )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38228.116499.patch
Type: text/x-patch
Size: 424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170925/a4cb7b33/attachment.bin>


More information about the cfe-commits mailing list