From e1c9fa84444677dbca5aa66db1ef8194c269c3ad Mon Sep 17 00:00:00 2001 From: Christian Hoffmann Date: Tue, 1 Mar 2022 23:16:51 +0100 Subject: [PATCH] Build: Don't download ASIO for JACK builds Related: #2417 --- windows/deploy_windows.ps1 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/windows/deploy_windows.ps1 b/windows/deploy_windows.ps1 index 550c7c0984..aebbb4946c 100644 --- a/windows/deploy_windows.ps1 +++ b/windows/deploy_windows.ps1 @@ -134,10 +134,15 @@ Function Install-Dependencies Install-PackageProvider -Name "Nuget" -Scope CurrentUser -Force } Initialize-Module-Here -m "VSSetup" - Install-Dependency -Uri $AsioSDKUrl ` - -Name $AsioSDKName -Destination "ASIOSDK2" Install-Dependency -Uri $NsisUrl ` -Name $NsisName -Destination "NSIS" + + if ($BuildOption -Notmatch "jack") { + # Don't download ASIO SDK on Jamulus JACK builds to save + # resources and to be extra-sure license-wise. + Install-Dependency -Uri $AsioSDKUrl ` + -Name $AsioSDKName -Destination "ASIOSDK2" + } } # Setup environment variables and build tool paths