summaryrefslogtreecommitdiffstats
path: root/config/cmake/runTest.cmake
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-05-24 13:05:17 (GMT)
committerGitHub <noreply@github.com>2023-05-24 13:05:17 (GMT)
commit37e0484af5b6e1d7ed637725bee24ecf758a43e9 (patch)
treebd902fbc0be0e6a8a2c42e1728ef146d4623950a /config/cmake/runTest.cmake
parent68abd201b2aa56cbc5c7bfee99bcb8d9612eb73a (diff)
downloadhdf5-37e0484af5b6e1d7ed637725bee24ecf758a43e9.zip
hdf5-37e0484af5b6e1d7ed637725bee24ecf758a43e9.tar.gz
hdf5-37e0484af5b6e1d7ed637725bee24ecf758a43e9.tar.bz2
Update GitHub macOS actions to v13 (#2999)
* Update macOS to 13 * Fix the DYLD_LIBRARY_PATH issue on macOS 12 & 13 + CMake that caused the accum test to fail
Diffstat (limited to 'config/cmake/runTest.cmake')
-rw-r--r--config/cmake/runTest.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/cmake/runTest.cmake b/config/cmake/runTest.cmake
index 12b4818..0d05424 100644
--- a/config/cmake/runTest.cmake
+++ b/config/cmake/runTest.cmake
@@ -40,6 +40,8 @@ message (STATUS "COMMAND: ${TEST_EMULATOR} ${TEST_PROGRAM} ${TEST_ARGS}")
if (TEST_LIBRARY_DIRECTORY)
if (WIN32)
set (ENV{PATH} "$ENV{PATH};${TEST_LIBRARY_DIRECTORY}")
+ elseif (APPLE)
+ set (ENV{DYLD_LIBRARY_PATH} "$ENV{DYLD_LIBRARY_PATH}:${TEST_LIBRARY_DIRECTORY}")
else ()
set (ENV{LD_LIBRARY_PATH} "$ENV{LD_LIBRARY_PATH}:${TEST_LIBRARY_DIRECTORY}")
endif ()