mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
For Clang, fallback to the AppVeyor installed version of CMake
This commit is contained in:
parent
bd5b775b08
commit
9a625ab71c
11
appveyor.yml
11
appveyor.yml
@ -36,12 +36,13 @@ cache:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- ps: |
|
- ps: |
|
||||||
if (![IO.File]::Exists("C:\cmake-3.8.0-win32-x86\bin\cmake.exe")) {
|
if ($env:USE_TOOLSET -ne "LLVM") {
|
||||||
Start-FileDownload 'https://cmake.org/files/v3.8/cmake-3.8.0-win32-x86.zip'
|
if (![IO.File]::Exists("C:\cmake-3.8.0-win32-x86\bin\cmake.exe")) {
|
||||||
7z x -y cmake-3.8.0-win32-x86.zip -oC:\
|
Start-FileDownload 'https://cmake.org/files/v3.8/cmake-3.8.0-win32-x86.zip'
|
||||||
|
7z x -y cmake-3.8.0-win32-x86.zip -oC:\
|
||||||
|
}
|
||||||
|
$env:PATH="C:\cmake-3.8.0-win32-x86\bin;$env:PATH"
|
||||||
}
|
}
|
||||||
$env:PATH="C:\cmake-3.8.0-win32-x86\bin;$env:PATH"
|
|
||||||
#
|
|
||||||
# Until vcpkg has been updated.
|
# Until vcpkg has been updated.
|
||||||
# Note: vcpkg can also be removed from "cache".
|
# Note: vcpkg can also be removed from "cache".
|
||||||
if ($env:USE_TOOLSET -eq "LLVM" -and
|
if ($env:USE_TOOLSET -eq "LLVM" -and
|
||||||
|
Loading…
Reference in New Issue
Block a user