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