[Mlir-commits] [mlir] e730231 - [mlir] Fix shared build. NFC

Michael Liao llvmlistbot at llvm.org
Mon Oct 21 07:55:38 PDT 2024


Author: Michael Liao
Date: 2024-10-21T10:55:17-04:00
New Revision: e7302319b52e3d231216d54d10622b0698928a96

URL: https://github.com/llvm/llvm-project/commit/e7302319b52e3d231216d54d10622b0698928a96
DIFF: https://github.com/llvm/llvm-project/commit/e7302319b52e3d231216d54d10622b0698928a96.diff

LOG: [mlir] Fix shared build. NFC

Added: 
    

Modified: 
    mlir/test/lib/Pass/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/test/lib/Pass/CMakeLists.txt b/mlir/test/lib/Pass/CMakeLists.txt
index 9f79944ff89684..f489b7e51e5038 100644
--- a/mlir/test/lib/Pass/CMakeLists.txt
+++ b/mlir/test/lib/Pass/CMakeLists.txt
@@ -1,3 +1,4 @@
+get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
 # Exclude tests from libMLIR.so
 add_mlir_library(MLIRTestPass
   TestDynamicPipeline.cpp
@@ -10,6 +11,7 @@ add_mlir_library(MLIRTestPass
   ${MLIR_MAIN_INCLUDE_DIR}/mlir/Pass
 
   LINK_LIBS PUBLIC
+  ${conversion_libs}
   MLIRIR
   MLIRPass
   MLIRTestDialect


        


More information about the Mlir-commits mailing list