mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 11:35:51 -04:00

Use LLVM_LINK_COMPONENTS to link the FrontendOpenMP library instead of passing it explicitly to LINK_LIBS. This fixes duplicating the library when clang-tidy is linked to LLVM dylib. Differential Revision: https://reviews.llvm.org/D71674
17 lines
259 B
CMake
17 lines
259 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
FrontendOpenMP
|
|
Support)
|
|
|
|
add_clang_library(clangTidyOpenMPModule
|
|
ExceptionEscapeCheck.cpp
|
|
OpenMPTidyModule.cpp
|
|
UseDefaultNoneCheck.cpp
|
|
|
|
LINK_LIBS
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangTidy
|
|
clangTidyUtils
|
|
)
|