llvm/mlir/lib/Conversion/AMDGPUToROCDL/CMakeLists.txt

add_mlir_conversion_library(MLIRAMDGPUToROCDL
  AMDGPUToROCDL.cpp

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/AMDGPUToROCDL

  DEPENDS
  MLIRConversionPassIncGen

  LINK_COMPONENTS
  Core

  LINK_LIBS PUBLIC
  MLIRLLVMCommonConversion
  MLIRLLVMDialect
  MLIRROCDLDialect
  MLIRAMDGPUDialect
  MLIRAMDGPUUtils
  MLIRPass
  MLIRTransforms
  )