[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-apply-replacements / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Support
3   )
4
5 add_clang_library(clangApplyReplacements
6   lib/Tooling/ApplyReplacements.cpp
7 )
8
9 clang_target_link_libraries(clangApplyReplacements
10   PRIVATE
11   clangAST
12   clangBasic
13   clangRewrite
14   clangToolingCore
15   clangToolingRefactoring
16   )
17
18 include_directories(
19   ${CMAKE_CURRENT_SOURCE_DIR}
20   include
21   )
22 add_subdirectory(tool)