llvm/mlir/lib/Dialect/Quant/IR/CMakeLists.txt

add_mlir_dialect_library(MLIRQuantDialect
  QuantDialectBytecode.h
  QuantDialectBytecode.cpp
  QuantOps.cpp
  QuantTypes.cpp
  TypeDetail.h
  TypeParser.cpp

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/QuantOps/IR

  DEPENDS
  MLIRQuantOpsIncGen
  MLIRQuantDialectBytecodeIncGen

  LINK_LIBS PUBLIC
  MLIRIR
  MLIRInferTypeOpInterface
  MLIRSideEffectInterfaces
  MLIRSupport
  )