summaryrefslogtreecommitdiffstats
path: root/tools/h5stat/CMakeTests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5stat/CMakeTests.cmake')
-rw-r--r--tools/h5stat/CMakeTests.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5stat/CMakeTests.cmake b/tools/h5stat/CMakeTests.cmake
index 0e4315f..81ddf82 100644
--- a/tools/h5stat/CMakeTests.cmake
+++ b/tools/h5stat/CMakeTests.cmake
@@ -54,8 +54,8 @@
ADD_CUSTOM_COMMAND (
TARGET h5stat
POST_BUILD
- COMMAND ${XLATE_UTILITY}
- ARGS ${HDF5_TOOLS_H5STAT_SOURCE_DIR}/testfiles/${ddl_file} ${ddldest} -l3
+ COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy_if_different ${HDF5_TOOLS_H5STAT_SOURCE_DIR}/testfiles/${ddl_file} ${ddldest}
)
ENDFOREACH (ddl_file ${HDF5_REFERENCE_FILES})