[TargetVersion] Only enable on RISC-V and AArch64 (#115991)
[llvm-project.git] / clang-tools-extra / clang-tidy / concurrency / CMakeLists.txt
blob91c6cedabcc8079725d0a879643ef361bcc5a483
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
6 add_clang_library(clangTidyConcurrencyModule STATIC
7   ConcurrencyTidyModule.cpp
8   MtUnsafeCheck.cpp
9   ThreadCanceltypeAsynchronousCheck.cpp
11   LINK_LIBS
12   clangTidy
13   clangTidyUtils
15   DEPENDS
16   ClangDriverOptions
17   )
19 clang_target_link_libraries(clangTidyConcurrencyModule
20   PRIVATE
21   clangAnalysis
22   clangAST
23   clangASTMatchers
24   clangBasic
25   clangLex
26   clangSerialization
27   clangTooling
28   )