From 15878509bc670651f77afaf8b000f16909e568cc Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Mon, 5 Jun 2023 15:35:21 +0200 Subject: [PATCH] deps.qt: Add arm64 slice to Qt6 build script --- deps.qt/qt6.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deps.qt/qt6.ps1 b/deps.qt/qt6.ps1 index 5e6d14aef..c2efbaca9 100644 --- a/deps.qt/qt6.ps1 +++ b/deps.qt/qt6.ps1 @@ -3,7 +3,7 @@ param( [string] $Version = '6.5.3', [string] $Uri = 'https://download.qt.io/official_releases/qt/6.5/6.5.3', [string] $Hash = "${PSScriptRoot}/checksums", - [array] $Targets = @('x64', 'x86'), + [array] $Targets = @('x64', 'x86', 'arm64'), [array] $Patches = @( @{ PatchFile = "${PSScriptRoot}/patches/Qt6/win/0001-CVE-2023-43114-6.5.patch" @@ -143,6 +143,7 @@ function Configure { $CMakeTarget = @{ x64 = 'x64' x86 = 'Win32' + arm64 = 'arm64' } $Options = ($Options -join ' ') -replace '-G Visual Studio \d+ \d+','-G Ninja' -replace "-A $($CMakeTarget[$Target])",'' @@ -227,6 +228,7 @@ function Qt-Add-Submodules { $CMakeTarget = @{ x64 = 'x64' x86 = 'Win32' + arm64 = 'arm64' } $QtComponents | Where-Object { $_ -ne 'qtbase' } | ForEach-Object {