Skip to content

Commit

Permalink
Update InstallTools.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf authored Jan 25, 2025
1 parent 8c1a8ed commit e0cd5be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packer/InstallTools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ function InstallBuildTools {
New-Item -Path "/BuildTools" -ItemType Directory

Write-Host "Installing CMake"
Invoke-WebRequest -Uri "https://github.com/Kitware/CMake/releases/download/v3.28.3/cmake-3.28.3-windows-x86_64.zip" -OutFile "/tmp/cmake-win.zip"
Invoke-WebRequest -Uri "https://github.com/Kitware/CMake/releases/download/v3.31.5/cmake-3.31.5-windows-x86_64.zip" -OutFile "/tmp/cmake-win.zip"
Expand-Archive -Path "/tmp/cmake-win.zip" -DestinationPath "/BuildTools"
Rename-Item -Path "/BuildTools/cmake-3.28.3-windows-x86_64" -NewName "CMake"
Rename-Item -Path "/BuildTools/cmake-3.31.5-windows-x86_64" -NewName "CMake"
Remove-Item -Path "/tmp/cmake-win.zip"

AllowAppContainerRXAccess -Path "C:\BuildTools\CMake"
Expand Down

0 comments on commit e0cd5be

Please sign in to comment.