diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-06-05 23:19:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-05 23:19:11 (GMT) |
commit | 36a2a8d5ae073d0b2c6d7c61cc9adc830886cc56 (patch) | |
tree | 139374492023c1c8cddc46f589fc30548b3cb722 /config/cmake/grepTest.cmake | |
parent | f4b6f3d8e049b9308bdbdc468d146fbb5da51f5d (diff) | |
download | hdf5-36a2a8d5ae073d0b2c6d7c61cc9adc830886cc56.zip hdf5-36a2a8d5ae073d0b2c6d7c61cc9adc830886cc56.tar.gz hdf5-36a2a8d5ae073d0b2c6d7c61cc9adc830886cc56.tar.bz2 |
Fix multiConfig variable usage and remove unused CMake vars (#3051)
Diffstat (limited to 'config/cmake/grepTest.cmake')
-rw-r--r-- | config/cmake/grepTest.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/cmake/grepTest.cmake b/config/cmake/grepTest.cmake index 3b0baf5..9dcedb5 100644 --- a/config/cmake/grepTest.cmake +++ b/config/cmake/grepTest.cmake @@ -42,6 +42,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 () |