Author: sylvestre Date: Mon Sep 25 07:08:35 2017 New Revision: 314107 URL: http://llvm.org/viewvc/llvm-project?rev=314107&view=rev Log: Fix clangd when built with LLVM_LINK_LLVM_DYLIB=ON
Reviewers: malaperle, malaperle-ericsson, bkramer Reviewed By: bkramer Subscribers: bkramer, mgorny, ilya-biryukov, cfe-commits Differential Revision: https://reviews.llvm.org/D38228 Modified: clang-tools-extra/trunk/clangd/tool/CMakeLists.txt Modified: clang-tools-extra/trunk/clangd/tool/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/tool/CMakeLists.txt?rev=314107&r1=314106&r2=314107&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/tool/CMakeLists.txt (original) +++ clang-tools-extra/trunk/clangd/tool/CMakeLists.txt Mon Sep 25 07:08:35 2017 @@ -6,6 +6,10 @@ add_clang_tool(clangd install(TARGETS clangd RUNTIME DESTINATION bin) +set(LLVM_LINK_COMPONENTS + support + ) + target_link_libraries(clangd clangBasic clangDaemon @@ -14,5 +18,4 @@ target_link_libraries(clangd clangSema clangTooling clangToolingCore - LLVMSupport ) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits