Skip to content

Commit 88999f8

Browse files
committed
Windows geneator flag for x86
1 parent 2435780 commit 88999f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildscripts/make_dependencies.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ pushd protobuf-%PROTOBUF_VER%\build
4343
if "%PLATFORM%" == "x64" (
4444
SET CMAKE_VSARCH=-A x64
4545
) else if "%PLATFORM%" == "x86" (
46-
SET CMAKE_VSARCH=-A x86
46+
@rem -A x86 doesn't work: https://github.com/microsoft/vcpkg/issues/15465
47+
SET CMAKE_VSARCH=-DCMAKE_GENERATOR_PLATFORM=WIN32
4748
) else (
4849
SET CMAKE_VSARCH=
4950
)

0 commit comments

Comments
 (0)