forked from OSchip/llvm-project
[clangd] clangDaemonTweaks - fix -DBUILD_SHARED_LIBS=ON build
Followup for rL352841. llvm-svn: 352843
This commit is contained in:
parent
f3e00fe35d
commit
3440c33989
|
@ -1,5 +1,9 @@
|
|||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../..)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
support
|
||||
)
|
||||
|
||||
# A target containing all code tweaks (i.e. mini-refactorings) provided by
|
||||
# clangd.
|
||||
# Built as an object library to make sure linker does not remove global
|
||||
|
@ -9,4 +13,9 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../..)
|
|||
# clangd/tool/CMakeLists.txt for an example.
|
||||
add_clang_library(clangDaemonTweaks OBJECT
|
||||
SwapIfBranches.cpp
|
||||
|
||||
LINK_LIBS
|
||||
clangAST
|
||||
clangDaemon
|
||||
clangToolingCore
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue