mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 21:10:07 +08:00
17 lines
203 B
PowerShell
17 lines
203 B
PowerShell
[CmdletBinding()]
|
|
param(
|
|
|
|
)
|
|
|
|
$out = ${env:PROGRAMFILES(X86)}
|
|
if ($out -eq $null)
|
|
{
|
|
$out = ${env:PROGRAMFILES}
|
|
}
|
|
|
|
if ($out -eq $null)
|
|
{
|
|
throw "Could not find [Program Files 32-bit]"
|
|
}
|
|
|
|
return $out |