Commit a7baf00a authored by Guillaume Pasero's avatar Guillaume Pasero

ENH: superbuild: support custom compile chains

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