Skip to content

Commit ec940c6

Browse files
committed
fix(build.bat): fix build errors with VS2015 build tools
1 parent 68479eb commit ec940c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ if %build_thirdparty% == 1 (
9494
echo building leveldb.
9595
cd %THIRDPARTY%\src\leveldb-windows
9696
echo BOOST_ROOT=%BOOST_ROOT%
97-
msbuild.exe leveldb.sln /p:Configuration=Release
97+
msbuild.exe leveldb.sln /p:Configuration=Release /p:Platform=Win32
9898
if %ERRORLEVEL% NEQ 0 goto ERROR
9999
echo built. copying artifacts.
100100
xcopy /S /I /Y include\leveldb %THIRDPARTY%\include\leveldb\
@@ -128,7 +128,7 @@ if %build_thirdparty% == 1 (
128128

129129
echo building marisa.
130130
cd %THIRDPARTY%\src\marisa-trie\vs2015
131-
msbuild.exe vs2015.sln /p:Configuration=Release
131+
msbuild.exe vs2015.sln /p:Configuration=Release /p:Platform=Win32
132132
if %ERRORLEVEL% NEQ 0 goto ERROR
133133
echo built. copying artifacts.
134134
xcopy /S /I /Y ..\lib\marisa %THIRDPARTY%\include\marisa\

0 commit comments

Comments
 (0)