torch-mlir/lib/Dialect/TorchConversion/IR/CMakeLists.txt

21 lines
405 B
CMake

add_mlir_dialect_library(TorchMLIRTorchConversionDialect
TorchConversionDialect.cpp
TorchConversionOps.cpp
ADDITIONAL_HEADER_DIRS
${PROJECT_SOURCE_DIR}/include/torch-mlir/Dialect/TorchConversion
DEPENDS
MLIRTorchConversionOpsIncGen
LINK_COMPONENTS
Core
LINK_LIBS PUBLIC
MLIRIR
MLIRSupport
MLIRSideEffectInterfaces
)
torch_mlir_target_includes(TorchMLIRTorchConversionDialect)