Commit 4a1f6b24 authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: wrong var name

parent 0148ffe0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment