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
3030Write-Verbose " Loading uv environment..."
3131$uv_env = Get-UvEnvironment - ArgumentList " --group=build"
3232Write-Verbose " Loading MSVS environment..."
33- $vs_env = Invoke-WithEnvironment $uv_env {
33+ [ hashtable ] $uv_vs_env = Invoke-WithEnvironment $uv_env {
3434 Get-VsEnvironment - Version:$VSVersion - TargetArch:$TargetArch
3535}
3636# Set the CC and CXX env vars to point to MSVC to prevent Ninja generation from
3737# 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" )
4040
41- Invoke-WithEnvironment $vs_env {
41+ Invoke-WithEnvironment $uv_vs_env {
4242 $settings = @ {
4343 AMONGOC_USE_PMM = $UseVcpkg ;
4444 BUILD_TESTING = $Test ;
You can’t perform that action at this time.
0 commit comments