summaryrefslogtreecommitdiffstats
path: root/Modules/FindCUDA.cmake
diff options
context:
space:
mode:
authorJohnny Jazeix <jazeix@gmail.com>2019-11-13 21:24:41 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-11-13 23:02:18 (GMT)
commit2d0100fac7a51327ce8053b4ab2277aaa96c12a5 (patch)
tree4e18ae98f53620d700a6727cf6a18c77dc2874a6 /Modules/FindCUDA.cmake
parent5239fc5c753502e91a1ea6859842d7fc24a36253 (diff)
downloadCMake-2d0100fac7a51327ce8053b4ab2277aaa96c12a5.zip
CMake-2d0100fac7a51327ce8053b4ab2277aaa96c12a5.tar.gz
CMake-2d0100fac7a51327ce8053b4ab2277aaa96c12a5.tar.bz2
replace remove and remove_directory with rm in tests
Diffstat (limited to 'Modules/FindCUDA.cmake')
-rw-r--r--Modules/FindCUDA.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindCUDA.cmake b/Modules/FindCUDA.cmake
index 85d705c..f1086e7 100644
--- a/Modules/FindCUDA.cmake
+++ b/Modules/FindCUDA.cmake
@@ -2006,7 +2006,7 @@ macro(CUDA_BUILD_CLEAN_TARGET)
string(TOUPPER ${cuda_clean_target_name} cuda_clean_target_name)
endif()
add_custom_target(${cuda_clean_target_name}
- COMMAND ${CMAKE_COMMAND} -E remove ${CUDA_ADDITIONAL_CLEAN_FILES})
+ COMMAND ${CMAKE_COMMAND} -E rm -f ${CUDA_ADDITIONAL_CLEAN_FILES})
# Clear out the variable, so the next time we configure it will be empty.
# This is useful so that the files won't persist in the list after targets