[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-tidy / llvm / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
5
6 add_clang_library(clangTidyLLVMModule
7   HeaderGuardCheck.cpp
8   IncludeOrderCheck.cpp
9   LLVMTidyModule.cpp
10   PreferIsaOrDynCastInConditionalsCheck.cpp
11   PreferRegisterOverUnsignedCheck.cpp
12   TwineLocalCheck.cpp
13
14   LINK_LIBS
15   clangTidy
16   clangTidyReadabilityModule
17   clangTidyUtils
18   )
19
20 clang_target_link_libraries(clangTidyLLVMModule
21   PRIVATE
22   clangAST
23   clangASTMatchers
24   clangBasic
25   clangLex
26   clangTooling
27   )