From 4f01fb39d8932e100892533760f5e1ffed98908c Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Fri, 8 Dec 2023 07:45:54 -0600 Subject: Correct CMake command and example packaging (#3888) --- CMakeInstallation.cmake | 2 +- 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} $ -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 ( -- cgit v0.12