[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-tidy / plugin / CMakeLists.txt
1 add_clang_library(clangTidyPlugin
2   ClangTidyPlugin.cpp
3
4   LINK_LIBS
5   clangTidy
6   ${ALL_CLANG_TIDY_CHECKS}
7   )
8
9 clang_target_link_libraries(clangTidyPlugin
10   PRIVATE
11   clangAST
12   clangASTMatchers
13   clangBasic
14   clangFrontend
15   clangSema
16   clangTooling
17   )