mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
compatible with non-English version of Windows (#3866)
This commit is contained in:
parent
47f362db99
commit
3a1e0f7f68
@ -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"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user