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

add_mlir_dialect_library(MLIRPDLInterpDialect
  PDLInterp.cpp

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/PDLInterp

  DEPENDS
  MLIRPDLInterpOpsIncGen

  LINK_LIBS PUBLIC
  MLIRFunctionInterfaces
  MLIRIR
  MLIRPDLDialect
  MLIRInferTypeOpInterface
  MLIRSideEffectInterfaces
  )