Restore path to Chocolatey.
This commit is contained in:
parent
3920e9ca15
commit
99ef44937d
|
@ -358,7 +358,7 @@ for:
|
|||
# Path before
|
||||
- path
|
||||
- set QTDIR=C:\%QT%
|
||||
- set PATH=%QTDIR%\bin;%QTDIR%\include;C:\Qt\Tools\QtCreator\bin;C:\Tools\PsTools;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\Git LFS;C:\Tools\GitVersion;C:\Windows\system32;C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\CMake\bin;%PYTHON%;%PYTHON%\Scripts
|
||||
- set PATH=%QTDIR%\bin;%QTDIR%\include;C:\Qt\Tools\QtCreator\bin;C:\Tools\PsTools;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\Git LFS;C:\Tools\GitVersion;C:\Windows\system32;C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\bin;%PYTHON%;%PYTHON%\Scripts
|
||||
# Set VC variables for the platform
|
||||
- ps: |
|
||||
if ($env:COMPILER -eq "msvc") {
|
||||
|
@ -387,7 +387,7 @@ for:
|
|||
}
|
||||
} else {
|
||||
if ($env:CHOCOLATEY_PACKAGES -eq "true") {
|
||||
& choco install mingw --version $env:CHOCOLATEY_MINGW_VERSION
|
||||
& choco install mingw -y --version $env:CHOCOLATEY_MINGW_VERSION
|
||||
}
|
||||
$env:Path += ";$env:MINGW_PATH"
|
||||
$env:CC = "gcc.exe"
|
||||
|
|
Loading…
Reference in New Issue
Block a user