diff --git a/appveyor.yml b/appveyor.yml index b379fa2..2db7e82 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -36,12 +36,13 @@ cache: install: - ps: | - if (![IO.File]::Exists("C:\cmake-3.8.0-win32-x86\bin\cmake.exe")) { - 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:\ + if ($env:USE_TOOLSET -ne "LLVM") { + if (![IO.File]::Exists("C:\cmake-3.8.0-win32-x86\bin\cmake.exe")) { + 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. # Note: vcpkg can also be removed from "cache". if ($env:USE_TOOLSET -eq "LLVM" -and