aboutsummaryrefslogtreecommitdiff
path: root/tools/Use-VC.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Use-VC.ps1')
-rw-r--r--tools/Use-VC.ps14
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/Use-VC.ps1 b/tools/Use-VC.ps1
index 300296ec..a4b7f348 100644
--- a/tools/Use-VC.ps1
+++ b/tools/Use-VC.ps1
@@ -12,9 +12,7 @@ function Use-VC {
$p = 'amd64'
}
- $vs = $(vswhere.exe -format value -property installationPath)
-
- cmd /c "$vs\VC\Auxiliary\Build\vcvars64.bat $p & set" |
+ cmd /c "$(vswhere.exe -format value -property installationPath)\VC\Auxiliary\Build\vcvars64.bat $p & set" |
ForEach-Object {
if ($_ -match '=') {
$v = $_ -split '='