mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-07-11 01:34:23 +02:00
17 lines
294 B
PowerShell
17 lines
294 B
PowerShell
param(
|
|
[Parameter(Mandatory = $true)]
|
|
[string]$VcpkgTriplet
|
|
)
|
|
|
|
Set-StrictMode -Version Latest
|
|
$ErrorActionPreference = 'Stop'
|
|
|
|
$repoRoot = Resolve-Path (Join-Path $PSScriptRoot '..')
|
|
Push-Location $repoRoot
|
|
try {
|
|
vcpkg install --triplet $VcpkgTriplet
|
|
}
|
|
finally {
|
|
Pop-Location
|
|
}
|