windows: Don't manually add c:\Program Files (x86)\GnuWin32\bin to the path
The GnuWin32 tools installed by Chocolatey reside in C:\GnuWin, and are added automatically to the path. The CMake tools aren't added automatically to the path though, so that entry still is useful. (However, the Visual Studio installation also brings along a different version of CMake that ends up found if the one we installed via Chocolatey isn't available.)
This commit is contained in:
parent
dee182ad1c
commit
b11b61d04f
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ ENV PYTHONIOENCODING=UTF-8
|
|||
|
||||
# update the path variable
|
||||
RUN powershell -NoProfile -InputFormat None -Command `
|
||||
$path = $env:path + ';c:\Program Files (x86)\GnuWin32\bin;C:\Program Files\CMake\bin'; `
|
||||
$path = $env:path + ';C:\Program Files\CMake\bin'; `
|
||||
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\' -Name Path -Value $path
|
||||
|
||||
# use this folder to store the worksapce'
|
||||
|
|
Loading…
Reference in a new issue