llvm/mlir/lib/Dialect/Affine/Utils/CMakeLists.txt

add_mlir_dialect_library(MLIRAffineUtils
  LoopFusionUtils.cpp
  LoopUtils.cpp
  Utils.cpp
  ViewLikeInterfaceUtils.cpp

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Affine

  LINK_LIBS PUBLIC
  MLIRAffineDialect
  MLIRAffineAnalysis
  MLIRAnalysis
  MLIRArithUtils
  MLIRFuncDialect
  MLIRMemRefDialect
  MLIRTransformUtils
  MLIRViewLikeInterface
  )