mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
Correct CMake command and example packaging (#3888)
This commit is contained in:
parent
92ff840f58
commit
4f01fb39d8
@ -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
|
||||
|
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user