[PATCH] D80074: [MLIR][cmake] use LINK_LIBS PUBLIC for MLIRStandardOpsTransforms

Stephen Neuendorffer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 16 22:47:42 PDT 2020


stephenneuendorffer created this revision.
Herald added subscribers: llvm-commits, jurahul, Kayjukh, frgossen, grosul1, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini, mgorny.
Herald added a project: LLVM.

Without this LLVM_LINK_LLVM_DYLIB is broken


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80074

Files:
  mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt


Index: mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt
===================================================================
--- mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt
+++ mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt
@@ -7,9 +7,8 @@
 
   DEPENDS
   MLIRStandardTransformsIncGen
-  )
-target_link_libraries(MLIRStandardOpsTransforms
-  PUBLIC
+
+  LINK_LIBS PUBLIC
   MLIRIR
   MLIRPass
   MLIRStandardOps


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80074.264472.patch
Type: text/x-patch
Size: 436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200517/1436bf06/attachment.bin>


More information about the llvm-commits mailing list