Only build mnist-playground if Torch was found.

pull/88/head
Sean Silva 2020-10-19 13:53:00 -07:00
parent 54c0a3a1e9
commit 81119aa0a1
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
add_subdirectory(npcomp-opt)
add_subdirectory(mnist-playground)
if(${TORCH_FOUND})
add_subdirectory(mnist-playground)
endif()
add_subdirectory(npcomp-run-mlir)
add_subdirectory(npcomp-shlib)