Fix boost build on windows
This commit is contained in:
parent
879a03fda4
commit
9f65c8ecd6
7
deps/Boost/Boost.cmake
vendored
7
deps/Boost/Boost.cmake
vendored
@ -100,11 +100,16 @@ if (NOT _boost_variants)
|
|||||||
set(_boost_variants release)
|
set(_boost_variants release)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(_boost_layout system)
|
||||||
|
if (MSVC)
|
||||||
|
set(_boost_layout versioned)
|
||||||
|
endif ()
|
||||||
|
|
||||||
set(_build_cmd ${_build_cmd}
|
set(_build_cmd ${_build_cmd}
|
||||||
${_boost_flags}
|
${_boost_flags}
|
||||||
-j${NPROC}
|
-j${NPROC}
|
||||||
${_libs}
|
${_libs}
|
||||||
--layout=system #versioned
|
--layout=${_boost_layout}
|
||||||
--debug-configuration
|
--debug-configuration
|
||||||
toolset=${_boost_toolset}
|
toolset=${_boost_toolset}
|
||||||
address-model=${_bits}
|
address-model=${_bits}
|
||||||
|
Loading…
Reference in New Issue
Block a user