diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-05-24 13:05:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-24 13:05:17 (GMT) |
commit | 37e0484af5b6e1d7ed637725bee24ecf758a43e9 (patch) | |
tree | bd902fbc0be0e6a8a2c42e1728ef146d4623950a /config/cmake/examples/HDF5_Examples.cmake.in | |
parent | 68abd201b2aa56cbc5c7bfee99bcb8d9612eb73a (diff) | |
download | hdf5-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/examples/HDF5_Examples.cmake.in')
-rw-r--r-- | config/cmake/examples/HDF5_Examples.cmake.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/cmake/examples/HDF5_Examples.cmake.in b/config/cmake/examples/HDF5_Examples.cmake.in index d2661a7..797cfd2 100644 --- a/config/cmake/examples/HDF5_Examples.cmake.in +++ b/config/cmake/examples/HDF5_Examples.cmake.in @@ -87,6 +87,11 @@ if(WIN32) set(CTEST_BINARY_NAME ${CTEST_SOURCE_NAME}\\build) set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}\\${CTEST_SOURCE_NAME}") set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}\\${CTEST_BINARY_NAME}") +else(APPLE) + set(ENV{DYLD_LIBRARY_PATH} "${INSTALLDIR}/lib") + set(CTEST_BINARY_NAME ${CTEST_SOURCE_NAME}/build) + set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${CTEST_SOURCE_NAME}") + set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${CTEST_BINARY_NAME}") else() set(ENV{LD_LIBRARY_PATH} "${INSTALLDIR}/lib") set(CTEST_BINARY_NAME ${CTEST_SOURCE_NAME}/build) |