compatible with non-English version of Windows (#3866)

This commit is contained in:
Zepp 2018-07-09 11:57:51 +08:00 committed by Robert Schumacher
parent 47f362db99
commit 3a1e0f7f68

View File

@ -333,7 +333,7 @@ $vcpkgReleaseDir = "$vcpkgSourcesPath\release"
if ($win64)
{
$architecture=(Get-WmiObject win32_operatingsystem | Select-Object osarchitecture).osarchitecture
if ($architecture -ne "64-bit")
if (-not $architecture -like "*64*")
{
throw "Cannot build 64-bit on non-64-bit system"
}