27 lines
380 B
CMake
27 lines
380 B
CMake
|
|
set(LLVM_LINK_COMPONENTS
|
||
|
|
FrontendOpenMP
|
||
|
|
Support
|
||
|
|
)
|
||
|
|
|
||
|
|
add_clang_library(clangTidyDarwinModule
|
||
|
|
AvoidSpinlockCheck.cpp
|
||
|
|
DarwinTidyModule.cpp
|
||
|
|
DispatchOnceNonstaticCheck.cpp
|
||
|
|
|
||
|
|
LINK_LIBS
|
||
|
|
clangTidy
|
||
|
|
clangTidyUtils
|
||
|
|
|
||
|
|
DEPENDS
|
||
|
|
omp_gen
|
||
|
|
)
|
||
|
|
|
||
|
|
clang_target_link_libraries(clangTidyDarwinModule
|
||
|
|
PRIVATE
|
||
|
|
clangAnalysis
|
||
|
|
clangAST
|
||
|
|
clangASTMatchers
|
||
|
|
clangBasic
|
||
|
|
clangLex
|
||
|
|
)
|