[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-tidy / objc / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
5
6 add_clang_library(clangTidyObjCModule
7   AvoidNSErrorInitCheck.cpp
8   DeallocInCategoryCheck.cpp
9   ForbiddenSubclassingCheck.cpp
10   MissingHashCheck.cpp
11   NSInvocationArgumentLifetimeCheck.cpp
12   ObjCTidyModule.cpp
13   PropertyDeclarationCheck.cpp
14   SuperSelfCheck.cpp
15
16   LINK_LIBS
17   clangTidy
18   clangTidyUtils
19   )
20
21 clang_target_link_libraries(clangTidyObjCModule
22   PRIVATE
23   clangAST
24   clangASTMatchers
25   clangBasic
26   clangLex
27   )