Use DYLD_LIBRARY_PATH on apple platforms.

This commit is contained in:
mheimlich 2022-07-21 08:20:58 +02:00 committed by Martin Hořeňovský
parent 97c48e0c34
commit a7dc85dd49

View File

@ -17,6 +17,8 @@ set(tests)
if(WIN32)
set(dl_paths_variable_name PATH)
elseif(APPLE)
set(dl_paths_variable_name DYLD_LIBRARY_PATH)
else()
set(dl_paths_variable_name LD_LIBRARY_PATH)
endif()