diff --git a/clang/lib/ASTMatchers/CMakeLists.txt b/clang/lib/ASTMatchers/CMakeLists.txt --- a/clang/lib/ASTMatchers/CMakeLists.txt +++ b/clang/lib/ASTMatchers/CMakeLists.txt @@ -2,6 +2,7 @@ set(LLVM_LINK_COMPONENTS Support + FrontendOpenMP ) add_clang_library(clangASTMatchers @@ -15,4 +16,4 @@ clangLex ) -target_link_libraries(clangASTMatchers PUBLIC LLVMFrontendOpenMP) +target_link_libraries(clangASTMatchers INTERFACE LLVMFrontendOpenMP)