mirror of https://github.com/llvm/torch-mlir
18 lines
260 B
CMake
18 lines
260 B
CMake
|
add_mlir_dialect_library(NPCOMPTorchDialect
|
||
|
TorchDialect.cpp
|
||
|
TorchOps.cpp
|
||
|
|
||
|
ADDITIONAL_HEADER_DIRS
|
||
|
${PROJECT_SOURCE_DIR}/include/npcomp/Dialect/Torch
|
||
|
|
||
|
DEPENDS
|
||
|
MLIRTorchOpsIncGen
|
||
|
|
||
|
LINK_COMPONENTS
|
||
|
Core
|
||
|
|
||
|
LINK_LIBS PUBLIC
|
||
|
MLIRIR
|
||
|
MLIRSupport
|
||
|
)
|