Skip to content

Commit

Permalink
Using Chocolately instead of manual download to install directX on As…
Browse files Browse the repository at this point in the history
…simp 3p build machine

Signed-off-by: AMZN-Gene <[email protected]>
  • Loading branch information
AMZN-Gene committed Sep 30, 2024
1 parent f34ed85 commit ec32530
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions package-system/assimp/build_assimp_windows.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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:\=/%"
Expand Down

0 comments on commit ec32530

Please sign in to comment.