From 674f1683a1bcd4b0e5bb3978236df3a17fa981fc Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Wed, 30 Mar 2022 12:47:13 +0200 Subject: [PATCH] Fix boost build on windows --- deps/Boost/Boost.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deps/Boost/Boost.cmake b/deps/Boost/Boost.cmake index c6a248086..d33e891f6 100644 --- a/deps/Boost/Boost.cmake +++ b/deps/Boost/Boost.cmake @@ -105,11 +105,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}