diff --git a/deps/Boost/Boost.cmake b/deps/Boost/Boost.cmake index b92be3511..f2edfe78a 100644 --- a/deps/Boost/Boost.cmake +++ b/deps/Boost/Boost.cmake @@ -100,11 +100,16 @@ if (NOT _boost_variants) set(_boost_variants release) endif() +set(_boost_layout system) +if (MSVC) + set(_boost_layout versioned) +endif () + set(_build_cmd ${_build_cmd} ${_boost_flags} -j${NPROC} ${_libs} - --layout=system #versioned + --layout=${_boost_layout} --debug-configuration toolset=${_boost_toolset} address-model=${_bits}