summaryrefslogtreecommitdiffstats
path: root/test/CMakeTests.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-01-27 14:26:21 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-01-27 14:26:21 (GMT)
commit2f86aa75516bf4be8b8d250d4776bb89e1c5bfab (patch)
tree21fc364ef74e3f25e4c6cfdabf85ffde69a194c4 /test/CMakeTests.cmake
parent8235d9820a644e39c8392a9048c159846ea0919e (diff)
downloadhdf5-2f86aa75516bf4be8b8d250d4776bb89e1c5bfab.zip
hdf5-2f86aa75516bf4be8b8d250d4776bb89e1c5bfab.tar.gz
hdf5-2f86aa75516bf4be8b8d250d4776bb89e1c5bfab.tar.bz2
[svn-r24646] HDFFV-8640: Remove xlate_utility by fixing reference files to not add extra lines.
Tested: cmake and autotools local linux
Diffstat (limited to 'test/CMakeTests.cmake')
-rw-r--r--test/CMakeTests.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index 58ef1e6..f6960cd 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -40,8 +40,8 @@ FOREACH (ref_file ${HDF5_REFERENCE_FILES})
ADD_CUSTOM_COMMAND (
TARGET ${HDF5_TEST_LIB_TARGET}
POST_BUILD
- COMMAND ${XLATE_UTILITY}
- ARGS ${HDF5_TEST_SOURCE_DIR}/testfiles/${ref_file} ${dest} -l3
+ COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy_if_different ${HDF5_TEST_SOURCE_DIR}/testfiles/${ref_file} ${dest}
)
ENDFOREACH (ref_file ${HDF5_REFERENCE_FILES})