torch-mlir/frontends/CMakeLists.txt

6 lines
129 B
CMake

if(${TORCH_FOUND})
add_subdirectory(pytorch)
else()
message("Skipping pytorch frontend, because PyTorch not found!")
endif()