Skip to content
Snippets Groups Projects
Commit 4a1f6b24 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: wrong var name

parent 0148ffe0
No related branches found
No related tags found
No related merge requests found
......@@ -24,12 +24,11 @@ if(WIN32)
endif()
else(UNIX)
if(APPLE)
set(LDLIB DYLD_LIBRARY_PATH)
set(LDLIBVAR DYLD_LIBRARY_PATH)
else()
set(LDLIB LD_LIBRARY_PATH)
set(LDLIBVAR LD_LIBRARY_PATH)
endif()
set(SB_CMAKE_COMMAND env LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_COMMAND})
set(SB_CMAKE_COMMAND env ${LDLIBVAR}=${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_COMMAND})
endif()
# Call external projects
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment