From 636515271bc64d0dec7fd68512f4a4613a446bcb Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 19 Aug 2018 16:59:37 +0200 Subject: [PATCH] Fixed appveyor error --- .appveyor.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index f5bc3b25..cc246347 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -38,9 +38,11 @@ before_build: cd build if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2013") { $env:generator="Visual Studio 12 2013" - } else if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2015") { + } + if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2015") { $env:generator="Visual Studio 14 2015" - } else { + } + if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2017") { $env:generator="Visual Studio 15 2017" } if ($env:PLATFORM -eq "x64") {