[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-tidy / openmp / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
5
6 add_clang_library(clangTidyOpenMPModule
7   ExceptionEscapeCheck.cpp
8   OpenMPTidyModule.cpp
9   UseDefaultNoneCheck.cpp
10
11   LINK_LIBS
12   clangTidy
13   clangTidyUtils
14   )
15
16 clang_target_link_libraries(clangTidyOpenMPModule
17   PRIVATE
18   clangAST
19   clangASTMatchers
20   clangBasic
21   )