From ec32530523aea6d4fb4efcb3ca146bb6e39ad51c Mon Sep 17 00:00:00 2001 From: AMZN-Gene Date: Mon, 30 Sep 2024 13:04:30 -0700 Subject: [PATCH] Using Chocolately instead of manual download to install directX on Assimp 3p build machine Signed-off-by: AMZN-Gene --- package-system/assimp/build_assimp_windows.cmd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package-system/assimp/build_assimp_windows.cmd b/package-system/assimp/build_assimp_windows.cmd index 799f7fd9..1f52d85a 100644 --- a/package-system/assimp/build_assimp_windows.cmd +++ b/package-system/assimp/build_assimp_windows.cmd @@ -10,9 +10,7 @@ @rem # if they happen to be installed locally, which we don't want. @rem Install Window's DirectX as required to build Assimp -powershell -Command "Invoke-WebRequest -Uri 'https://download.microsoft.com/download/1/7/1/1718CCC4-6315-4D8E-9543-8E28A4E18C4C/dxwebsetup.exe' -OutFile dxwebsetup.exe" -dxwebsetup.exe /Q /T:%TEMP%\DXRedist -%TEMP%\DXRedist\DXSETUP.exe /silent +choco install directx -y @rem # cmake expects fowardslashes: set "DOWNLOADED_PACKAGE_FOLDERS=%DOWNLOADED_PACKAGE_FOLDERS:\=/%"