[Mlir-commits] [mlir] 46c6166 - Fix MLIR build with shared library enabled

Mehdi Amini llvmlistbot at llvm.org
Mon Mar 20 06:04:23 PDT 2023


Author: Mehdi Amini
Date: 2023-03-20T14:04:15+01:00
New Revision: 46c6166d33915159e95f4ae17998bbe13207b144

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

LOG: Fix MLIR build with shared library enabled

Broken by f406adf134c2f

Added: 
    

Modified: 
    mlir/lib/Debug/Observers/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Debug/Observers/CMakeLists.txt b/mlir/lib/Debug/Observers/CMakeLists.txt
index 2d7e4b15835d..0a4261b0e45c 100644
--- a/mlir/lib/Debug/Observers/CMakeLists.txt
+++ b/mlir/lib/Debug/Observers/CMakeLists.txt
@@ -7,4 +7,5 @@ add_mlir_library(MLIRObservers
   LINK_LIBS PUBLIC
   ${LLVM_PTHREAD_LIB}
   MLIRSupport
+  MLIRIR
 )


        


More information about the Mlir-commits mailing list