Skip to content
Snippets Groups Projects
Commit 1adf50e5 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Adress model is needed for all windows

parent aab6429a
No related branches found
No related tags found
No related merge requests found
......@@ -51,21 +51,20 @@ foreach(lib ${boost_libraries_to_build})
--with-${lib})
endforeach(lib)
# I think that this is already handled by boost.
# 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.
# This is needed because otherwise boost is building both x32 and x64 lib
# (on wndows) 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=32)
if(OTB_TARGET_SYSTEM_ARCH_IS_X64)
set(BOOST_SB_CONFIG
${BOOST_SB_CONFIG}
address-model=64)
elseif()()
set(BOOST_SB_CONFIG
${BOOST_SB_CONFIG}
address-model=32)
endif()
endif()
set(BOOST_SB_CONFIG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment