Christopher Bate 8bf69ceb00
Reapply "[mlir] NFC: fix dependence of (Tensor|Linalg|MemRef|Complex) dialects on LLVM Dialect and LLVM Core in CMake build (#104832)" (#105703)
Reapply the commit 43b508566799751aa180f1eaaafc5be693f2f1ae with
additional fixes for building with
BUILD_SHARED_LIBS=ON.
2024-08-28 22:34:14 -06:00

20 lines
360 B
CMake

add_mlir_conversion_library(MLIRControlFlowToSCF
ControlFlowToSCF.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/ControlFlowToSCF
DEPENDS
MLIRConversionPassIncGen
LINK_LIBS PUBLIC
MLIRAnalysis
MLIRArithDialect
MLIRControlFlowDialect
MLIRFuncDialect
MLIRSCFDialect
MLIRUBDialect
MLIRPass
MLIRTransformUtils
)