torch-mlir/lib/Conversion/TorchOnnxToTorch/CMakeLists.txt

22 lines
466 B
CMake
Raw Normal View History

add_mlir_conversion_library(TorchMLIRTorchOnnxToTorch
DefaultDomainAtoF.cpp
DefaultDomainGtoP.cpp
DefaultDomainQtoZ.cpp
OnnxLstmExpander.cpp
Passes.cpp
Patterns.cpp
TorchOnnxToTorch.cpp
Utils.cpp
ADDITIONAL_HEADER_DIRS
${PROJECT_SOURCE_DIR}/include/torch-mlir/Conversion/TorchOnnxToTorch
DEPENDS
TorchMLIRConversionTorchOnnxToTorchPassIncGen
LINK_LIBS PUBLIC
MLIRIR
MLIRPass
TorchMLIRTorchDialect
)