Skip to content

Commit

Permalink
ignore if file not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
arition committed Sep 13, 2021
1 parent e550973 commit 2c76d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ if(WIN32)
"\"${CMAKE_CURRENT_BINARY_DIR}/libtorch/lib/*.dll\""
\"$<TARGET_FILE_DIR:torch-js>\")
add_custom_command(TARGET torch-js POST_BUILD
COMMAND ${CMAKE_COMMAND} -E rm
COMMAND ${CMAKE_COMMAND} -E rm -rf
"$<TARGET_FILE_DIR:torch-js>/cudnn_adv_train64_8.dll"
"$<TARGET_FILE_DIR:torch-js>/cudnn_cnn_train64_8.dll"
"$<TARGET_FILE_DIR:torch-js>/cudnn_ops_train64_8.dll")
Expand Down

0 comments on commit 2c76d60

Please sign in to comment.