forked from OSchip/llvm-project
[clangd] Fix link failures for Preprocessor::addCommentHandler
Summary: D42640 adds calls to `Preprocessor::addCommentHandler` in `unittests/clangd/SymbolCollectorTests.cpp` and `clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp` but does not link `clangLex` library. This causes undefined reference errors when built with `-DBUILD_SHARED_LIBS=ON`. Reviewers: ioeric Subscribers: klimek, mgorny, ilya-biryukov, jkorous-apple, cfe-commits Differential Revision: https://reviews.llvm.org/D43437 llvm-svn: 325458
This commit is contained in:
parent
891789c299
commit
f4a29252fb
|
@ -15,5 +15,6 @@ target_link_libraries(global-symbol-builder
|
|||
clangDaemon
|
||||
clangBasic
|
||||
clangFrontend
|
||||
clangLex
|
||||
clangTooling
|
||||
)
|
||||
|
|
|
@ -38,6 +38,7 @@ target_link_libraries(ClangdTests
|
|||
clangFormat
|
||||
clangFrontend
|
||||
clangIndex
|
||||
clangLex
|
||||
clangSema
|
||||
clangTooling
|
||||
clangToolingCore
|
||||
|
|
Loading…
Reference in New Issue