Commit 4fade618 authored by Antoine Regimbeau's avatar Antoine Regimbeau

Fix for win32

parent 8f00e3e2
Pipeline #2315 failed with stages
in 71 minutes and 16 seconds
......@@ -52,10 +52,20 @@ foreach(lib ${boost_libraries_to_build})
endforeach(lib)
# I think that this is already handled by boost.
if(OTB_TARGET_SYSTEM_ARCH_IS_X64)
# if(OTB_TARGET_SYSTEM_ARCH_IS_X64)
# set(BOOST_SB_CONFIG
# ${BOOST_SB_CONFIG}
# address-model=64)
# endif()
# This is needed because otherwise boost is building both x32 and x64 lib,
# and during packages on win32 we are installing all libs.
# See Packaging/install_importlibs.cmake
if ( WIN32 )
set(BOOST_SB_CONFIG
${BOOST_SB_CONFIG}
address-model=64)
address-model=32)
endif()
set(BOOST_SB_CONFIG
......
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