mirror of https://github.com/llvm/torch-mlir
20 lines
324 B
CMake
20 lines
324 B
CMake
add_mlir_public_c_api_library(TorchMLIRCAPI
|
|
Dialects.cpp
|
|
Registration.cpp
|
|
TorchTypes.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${PROJECT_SOURCE_DIR}/include/torch-mlir-c/
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRIR
|
|
MLIRSupport
|
|
TorchMLIRTorchDialect
|
|
TorchMLIRInitAll
|
|
)
|
|
|
|
torch_mlir_target_includes(TorchMLIRCAPI)
|