summaryrefslogtreecommitdiff
path: root/Tests/SubDir
diff options
context:
space:
mode:
authorJohnny Jazeix <jazeix@gmail.com>2019-11-13 22:24:41 +0100
committerKyle Edwards <kyle.edwards@kitware.com>2019-11-13 18:02:18 -0500
commit2d0100fac7a51327ce8053b4ab2277aaa96c12a5 (patch)
tree4e18ae98f53620d700a6727cf6a18c77dc2874a6 /Tests/SubDir
parent5239fc5c753502e91a1ea6859842d7fc24a36253 (diff)
downloadcmake-2d0100fac7a51327ce8053b4ab2277aaa96c12a5.tar.gz
replace remove and remove_directory with rm in tests
Diffstat (limited to 'Tests/SubDir')
-rw-r--r--Tests/SubDir/Examples/example1/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/SubDir/Examples/example1/CMakeLists.txt b/Tests/SubDir/Examples/example1/CMakeLists.txt
index 20d065e542..8ec1c02697 100644
--- a/Tests/SubDir/Examples/example1/CMakeLists.txt
+++ b/Tests/SubDir/Examples/example1/CMakeLists.txt
@@ -3,5 +3,5 @@ project(example1)
add_executable(example1 example1.cxx)
add_custom_command(TARGET example1 POST_BUILD
- COMMAND "${CMAKE_COMMAND}" ARGS -E remove ${SUBDIR_BINARY_DIR}/ShouldBeHere
+ COMMAND "${CMAKE_COMMAND}" ARGS -E rm -f ${SUBDIR_BINARY_DIR}/ShouldBeHere
COMMENT "Remove marker file that should exist because this should not be run")