Skip to content

Commit

Permalink
Use DYLD_LIBRARY_PATH on apple platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
mheimlich authored and horenmar committed Jul 23, 2022
1 parent 97c48e0 commit a7dc85d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extras/CatchAddTests.cmake
Expand Up @@ -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()
Expand Down

0 comments on commit a7dc85d

Please sign in to comment.