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

BUG: Mantis-1456: fix for SuperBuild using Visual generator

parent 9b4696c7
......@@ -49,7 +49,7 @@ endif()
#check who uses zdll.lib and remove this hack
if(MSVC)
ExternalProject_Add_Step(ZLIB msvc_copy_hell
COMMAND ${CMAKE_COMMAND} -E copy ${ZLIB_SB_BUILD_DIR}/zlib.lib ${SB_INSTALL_PREFIX}/lib/zdll.lib
COMMAND ${CMAKE_COMMAND} -E copy ${SB_INSTALL_PREFIX}/lib/zlib.lib ${SB_INSTALL_PREFIX}/lib/zdll.lib
DEPENDEES install)
endif()
......
......@@ -227,7 +227,7 @@ if(UNIX)
message(STATUS "Environment setup for Configure (SB_ENV_CONFIGURE_CMD): ${SB_ENV_CONFIGURE_CMD}")
else()
#windows
set(SB_CMAKE_COMMAND ${CMAKE_COMMAND} ${SB_CMAKE_ARGS})
set(SB_CMAKE_COMMAND ${CMAKE_COMMAND})
endif()
if(CMAKE_C_FLAGS)
......
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