File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ $root = Split-Path -Parent $this_dir
30
30
Write-Verbose " Loading uv environment..."
31
31
$uv_env = Get-UvEnvironment - ArgumentList " --group=build"
32
32
Write-Verbose " Loading MSVS environment..."
33
- $vs_env = Invoke-WithEnvironment $uv_env {
33
+ [ hashtable ] $uv_vs_env = Invoke-WithEnvironment $uv_env {
34
34
Get-VsEnvironment - Version:$VSVersion - TargetArch:$TargetArch
35
35
}
36
36
# Set the CC and CXX env vars to point to MSVC to prevent Ninja generation from
37
37
# attempting to use MinGW GCC instead, even if its available on the path
38
- $vs_env [ " CC" ] = " cl.exe"
39
- $vs_env [ " CXX" ] = " cl.exe"
38
+ $uv_vs_env .Add ( " CC" , " cl.exe" )
39
+ $uv_vs_env .Add ( " CXX" , " cl.exe" )
40
40
41
- Invoke-WithEnvironment $vs_env {
41
+ Invoke-WithEnvironment $uv_vs_env {
42
42
$settings = @ {
43
43
AMONGOC_USE_PMM = $UseVcpkg ;
44
44
BUILD_TESTING = $Test ;
You can’t perform that action at this time.
0 commit comments