From a00f198a331ec4914a865a757b65ca68260855da Mon Sep 17 00:00:00 2001 From: Oleg Korshul Date: Fri, 4 Jun 2021 11:20:02 +0300 Subject: [PATCH] Fix build on windows --- scripts/core_common/modules/boost.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/core_common/modules/boost.py b/scripts/core_common/modules/boost.py index 71952a82..17f3259e 100644 --- a/scripts/core_common/modules/boost.py +++ b/scripts/core_common/modules/boost.py @@ -68,12 +68,12 @@ def make(): if ("windows" == base.host_platform()): win_toolset = "msvc-14.0" if (-1 != config.option("platform").find("win_64")) and not base.is_dir("../build/win_64"): - base.cmd("bootstrap.bat") + base.cmd("bootstrap.bat", ["vc14"]) base.cmd("b2.exe", ["headers"]) base.cmd("b2.exe", ["--clean"]) base.cmd("b2.exe", ["--prefix=./../build/win_64", "link=static", "--with-filesystem", "--with-system", "--with-date_time", "--with-regex", "--toolset=" + win_toolset, "address-model=64", "install"]) if (-1 != config.option("platform").find("win_32")) and not base.is_dir("../build/win_32"): - base.cmd("bootstrap.bat") + base.cmd("bootstrap.bat", ["vc14"]) base.cmd("b2.exe", ["headers"]) base.cmd("b2.exe", ["--clean"]) base.cmd("b2.exe", ["--prefix=./../build/win_32", "link=static", "--with-filesystem", "--with-system", "--with-date_time", "--with-regex", "--toolset=" + win_toolset, "address-model=32", "install"])