Correct CMake command and example packaging (#3888)

This commit is contained in:
Allen Byrne 2023-12-08 07:45:54 -06:00 committed by GitHub
parent 92ff840f58
commit 4f01fb39d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 (