diff options
| author | Johnny Jazeix <jazeix@gmail.com> | 2019-11-13 22:24:41 +0100 |
|---|---|---|
| committer | Kyle Edwards <kyle.edwards@kitware.com> | 2019-11-13 18:02:18 -0500 |
| commit | 2d0100fac7a51327ce8053b4ab2277aaa96c12a5 (patch) | |
| tree | 4e18ae98f53620d700a6727cf6a18c77dc2874a6 /Tests/CustomCommand | |
| parent | 5239fc5c753502e91a1ea6859842d7fc24a36253 (diff) | |
| download | cmake-2d0100fac7a51327ce8053b4ab2277aaa96c12a5.tar.gz | |
replace remove and remove_directory with rm in tests
Diffstat (limited to 'Tests/CustomCommand')
| -rw-r--r-- | Tests/CustomCommand/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt index e9a9f525f7..e4b50d034f 100644 --- a/Tests/CustomCommand/CMakeLists.txt +++ b/Tests/CustomCommand/CMakeLists.txt @@ -70,7 +70,7 @@ add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/doc1.h APPEND COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_BINARY_DIR}/doc1temp.h ${PROJECT_BINARY_DIR}/doc1.h COMMAND ${CMAKE_COMMAND} -E echo " Removing doc1temp.h." - COMMAND ${CMAKE_COMMAND} -E remove -f ${PROJECT_BINARY_DIR}/doc1temp.h + COMMAND ${CMAKE_COMMAND} -E rm -f ${PROJECT_BINARY_DIR}/doc1temp.h ) # Add custom command to generate foo.h. @@ -412,7 +412,7 @@ add_custom_target(do_check_command_line ALL add_dependencies(do_check_command_line check_command_line) add_custom_target(pre_check_command_line - COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_CURRENT_BINARY_DIR}/check_mark.txt + COMMAND ${CMAKE_COMMAND} -E rm -f ${CMAKE_CURRENT_BINARY_DIR}/check_mark.txt ) add_dependencies(do_check_command_line pre_check_command_line) |
