[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-tidy / mpi / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
5
6 add_clang_library(clangTidyMPIModule
7   BufferDerefCheck.cpp
8   MPITidyModule.cpp
9   TypeMismatchCheck.cpp
10
11   LINK_LIBS
12   clangTidy
13   clangTidyUtils
14   )
15
16 clang_target_link_libraries(clangTidyMPIModule
17   PRIVATE
18   clangAnalysis
19   clangAST
20   clangASTMatchers
21   clangBasic
22   clangLex
23   clangTooling
24   clangStaticAnalyzerCheckers
25   )