summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-12-08 13:45:54 (GMT)
committerGitHub <noreply@github.com>2023-12-08 13:45:54 (GMT)
commit4f01fb39d8932e100892533760f5e1ffed98908c (patch)
tree2030a4e8b29d6bba8ba57846a39b7971ea63404e
parent92ff840f5881e1b650a8b104ce9358b524930e70 (diff)
downloadhdf5-4f01fb39d8932e100892533760f5e1ffed98908c.zip
hdf5-4f01fb39d8932e100892533760f5e1ffed98908c.tar.gz
hdf5-4f01fb39d8932e100892533760f5e1ffed98908c.tar.bz2
Correct CMake command and example packaging (#3888)
-rw-r--r--CMakeInstallation.cmake2
-rw-r--r--tools/test/h5copy/CMakeTests.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake
index 2b03779..f28bb94 100644
--- a/CMakeInstallation.cmake
+++ b/CMakeInstallation.cmake
@@ -156,7 +156,7 @@ if (HDF5_PACK_EXAMPLES)
)
install (
- DIRECTORY ${HDF5_BINARY_DIR}/HDF5Examples
+ DIRECTORY ${HDF5_SOURCE_DIR}/HDF5Examples
DESTINATION ${HDF5_INSTALL_DATA_DIR}
USE_SOURCE_PERMISSIONS
COMPONENT hdfdocuments
diff --git a/tools/test/h5copy/CMakeTests.cmake b/tools/test/h5copy/CMakeTests.cmake
index fb02d81..b4daa87 100644
--- a/tools/test/h5copy/CMakeTests.cmake
+++ b/tools/test/h5copy/CMakeTests.cmake
@@ -163,8 +163,8 @@
COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5copy${tgt_file_ext}> -i ./testfiles/${infile} -o ./testfiles/${testname}.out.h5 -v -s ${psparam} -d ${pdparam}
)
set_tests_properties (H5COPY-${testname}-prefill PROPERTIES DEPENDS H5COPY-${testname}-clear-objects)
- if ("" MATCHES "${HDF5_DISABLE_TESTS_REGEX}")
- set_tests_properties ( PROPERTIES DISABLED true)
+ if ("H5COPY-${testname}-prefill" MATCHES "${HDF5_DISABLE_TESTS_REGEX}")
+ set_tests_properties (H5COPY-${testname}-prefill PROPERTIES DISABLED true)
endif ()
add_test (