[clang-tools-extra] [cmake] Link against libclang-cpp whenever possible
[lldb.git] / clang-tools-extra / clang-apply-replacements / tool / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Support
3   )
4
5 add_clang_tool(clang-apply-replacements
6   ClangApplyReplacementsMain.cpp
7   )
8 clang_target_link_libraries(clang-apply-replacements
9   PRIVATE
10   clangBasic
11   clangFormat
12   clangRewrite
13   clangToolingCore
14   clangToolingRefactoring
15   )
16 target_link_libraries(clang-apply-replacements
17   PRIVATE
18   clangApplyReplacements
19   )