From ec940c686cc8a6c141cac42f741a99002d42ad95 Mon Sep 17 00:00:00 2001 From: Prcuvu Date: Mon, 18 Sep 2017 18:33:14 +0800 Subject: [PATCH] fix(build.bat): fix build errors with VS2015 build tools --- build.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.bat b/build.bat index 6fd53d2b9..bb3712336 100644 --- a/build.bat +++ b/build.bat @@ -94,7 +94,7 @@ if %build_thirdparty% == 1 ( echo building leveldb. cd %THIRDPARTY%\src\leveldb-windows echo BOOST_ROOT=%BOOST_ROOT% - msbuild.exe leveldb.sln /p:Configuration=Release + msbuild.exe leveldb.sln /p:Configuration=Release /p:Platform=Win32 if %ERRORLEVEL% NEQ 0 goto ERROR echo built. copying artifacts. xcopy /S /I /Y include\leveldb %THIRDPARTY%\include\leveldb\ @@ -128,7 +128,7 @@ if %build_thirdparty% == 1 ( echo building marisa. cd %THIRDPARTY%\src\marisa-trie\vs2015 - msbuild.exe vs2015.sln /p:Configuration=Release + msbuild.exe vs2015.sln /p:Configuration=Release /p:Platform=Win32 if %ERRORLEVEL% NEQ 0 goto ERROR echo built. copying artifacts. xcopy /S /I /Y ..\lib\marisa %THIRDPARTY%\include\marisa\