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

add_mlir_conversion_library(MLIRControlFlowToSPIRV
  ControlFlowToSPIRV.cpp
  ControlFlowToSPIRVPass.cpp

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

  DEPENDS
  MLIRConversionPassIncGen

  LINK_LIBS PUBLIC
  MLIRIR
  MLIRControlFlowDialect
  MLIRPass
  MLIRSPIRVDialect
  MLIRSPIRVConversion
  MLIRSupport
  MLIRTransformUtils
  )