diff options
-rw-r--r-- | CMakeInstallation.cmake | 2 | ||||
-rw-r--r-- | tools/test/h5copy/CMakeTests.cmake | 4 |
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 ( |