summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-11-15 14:57:38 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-15 14:57:56 (GMT)
commit5695b0464b411746b207da2ee23b8e2d9f8ffec2 (patch)
tree82e1a00666f6e8a026b7af578801b9b38d8e04ce /Tests/ExportImport
parent1d78e1a966912d35e1dea0e986bc0b977141e880 (diff)
parent2d0100fac7a51327ce8053b4ab2277aaa96c12a5 (diff)
downloadCMake-5695b0464b411746b207da2ee23b8e2d9f8ffec2.zip
CMake-5695b0464b411746b207da2ee23b8e2d9f8ffec2.tar.gz
CMake-5695b0464b411746b207da2ee23b8e2d9f8ffec2.tar.bz2
Merge topic 'cmake-e-rm'
2d0100fac7 replace remove and remove_directory with rm in tests 5239fc5c75 cmake -E: Add rm with improved semantics over remove and remove_directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3949
Diffstat (limited to 'Tests/ExportImport')
-rw-r--r--Tests/ExportImport/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ExportImport/CMakeLists.txt b/Tests/ExportImport/CMakeLists.txt
index dc621eb..d88eb11 100644
--- a/Tests/ExportImport/CMakeLists.txt
+++ b/Tests/ExportImport/CMakeLists.txt
@@ -7,7 +7,7 @@ endif()
# Wipe out the install tree to make sure the exporter works.
add_custom_command(
OUTPUT ${ExportImport_BINARY_DIR}/CleanupProject
- COMMAND ${CMAKE_COMMAND} -E remove_directory ${ExportImport_BINARY_DIR}/Root
+ COMMAND ${CMAKE_COMMAND} -E rm -rf ${ExportImport_BINARY_DIR}/Root
)
add_custom_target(CleanupTarget ALL DEPENDS ${ExportImport_BINARY_DIR}/CleanupProject)
set_property(