From 9a625ab71cf3475e1e6eb749908c497749281f69 Mon Sep 17 00:00:00 2001 From: Roelf-Jilling Date: Thu, 15 Nov 2018 19:55:17 +0100 Subject: [PATCH] For Clang, fallback to the AppVeyor installed version of CMake --- appveyor.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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