[PATCH] D77654: [OpenMP] Modify library linkage to resolved PR28433

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 7 08:40:17 PDT 2020


jdoerfert created this revision.
jdoerfert added reviewers: sylvestre.ledru, lebedev.ri.
Herald added subscribers: guansong, bollu, yaxunl, mgorny.
Herald added a project: clang.

This is a try that works locally but the problem did not occur locally
(even though shared libraries were enabled).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77654

Files:
  clang/lib/ASTMatchers/CMakeLists.txt


Index: clang/lib/ASTMatchers/CMakeLists.txt
===================================================================
--- clang/lib/ASTMatchers/CMakeLists.txt
+++ 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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77654.255690.patch
Type: text/x-patch
Size: 482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200407/84c1c854/attachment.bin>


More information about the cfe-commits mailing list