summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-12-04 00:52:48 (GMT)
committerGitHub <noreply@github.com>2021-12-04 00:52:48 (GMT)
commite0a0977e95f1ae20855a327b403338804bc287c4 (patch)
treefb519f088b2b8c6bbe29c55c954c8ac4d9983e6e /tools
parentc11fa801741aab33bf741c9f298dc52e9cb144fe (diff)
downloadhdf5-e0a0977e95f1ae20855a327b403338804bc287c4.zip
hdf5-e0a0977e95f1ae20855a327b403338804bc287c4.tar.gz
hdf5-e0a0977e95f1ae20855a327b403338804bc287c4.tar.bz2
Merge #1237 Add check for SDK version on windows (#1239)
Diffstat (limited to 'tools')
-rw-r--r--tools/test/h5dump/CMakeTests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/h5dump/CMakeTests.cmake b/tools/test/h5dump/CMakeTests.cmake
index 53355e0..32fa7ef 100644
--- a/tools/test/h5dump/CMakeTests.cmake
+++ b/tools/test/h5dump/CMakeTests.cmake
@@ -385,7 +385,7 @@
# --------------------------------------------------------------------
HDFTEST_COPY_FILE("${HDF5_TOOLS_DIR}/testfiles/tbin1.ddl" "${PROJECT_BINARY_DIR}/testfiles/std/tbin1LE.ddl" "h5dump_std_files")
- if (WIN32)
+ if (WIN32 AND CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION VERSION_LESS 10.0.18362.0)
configure_file(${HDF5_TOOLS_DIR}/testfiles/tbinregR.exp ${PROJECT_BINARY_DIR}/testfiles/std/tbinregR.exp NEWLINE_STYLE CRLF)
#file (READ ${HDF5_TOOLS_DIR}/testfiles/tbinregR.exp TEST_STREAM)
#file (WRITE ${PROJECT_BINARY_DIR}/testfiles/std/tbinregR.exp "${TEST_STREAM}")