From 2c76d6048d8d36b440971c796af4defbfd8a270e Mon Sep 17 00:00:00 2001 From: arition Date: Mon, 13 Sep 2021 15:11:30 -0700 Subject: [PATCH] ignore if file not exist --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d118f19..eeeb5df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,7 +98,7 @@ if(WIN32) "\"${CMAKE_CURRENT_BINARY_DIR}/libtorch/lib/*.dll\"" \"$\") add_custom_command(TARGET torch-js POST_BUILD - COMMAND ${CMAKE_COMMAND} -E rm + COMMAND ${CMAKE_COMMAND} -E rm -rf "$/cudnn_adv_train64_8.dll" "$/cudnn_cnn_train64_8.dll" "$/cudnn_ops_train64_8.dll")