Commit d3fa105d authored by Guillaume Pasero's avatar Guillaume Pasero

ENH: superbuild: support custom compile chains

parent 1ae24e86
......@@ -47,8 +47,9 @@ else(UNIX)
set(SB_CMAKE_COMMAND ${CMAKE_COMMAND})
else()
set(LDLIBVAR LD_LIBRARY_PATH)
set(SB_ENV_CONFIGURE_CMD env ${LDLIBVAR}=${SB_INSTALL_PREFIX}/lib)
set(SB_ENV_CONFIGURE_CMD env ${LDLIBVAR}=${SB_INSTALL_PREFIX}/lib:$ENV{${LDLIBVAR}})
set(SB_CMAKE_COMMAND env ${LDLIBVAR}=${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_COMMAND})
message(STATUS "Environment setup for Configure : ${SB_ENV_CONFIGURE_CMD}")
endif()
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