Skip to content

Commit

Permalink
set x86-windows as default triplet otherwise
Browse files Browse the repository at this point in the history
  • Loading branch information
jurplel authored Aug 10, 2023
1 parent cccd917 commit edd36e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pwsh/get-vcpkg-deps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ if ($IsWindows) {
# Use environment variable to detect if we're building for 64-bit or 32-bit Windows
if ([Environment]::Is64BitOperatingSystem -and ($env:forceWin32 -ne 'true')) {
$env:VCPKG_DEFAULT_TRIPLET = "x64-windows"
} else {
$env:VCPKG_DEFAULT_TRIPLET = "x86-windows"
}
} elseif ($IsMacOS) {
# Makes things more reproducible for testing on M1 machines
Expand Down

0 comments on commit edd36e2

Please sign in to comment.