From 19ebe12eeac3736d2b6eb541b6c7fc8c653f7721 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sat, 23 Dec 2017 22:15:58 -0500 Subject: [PATCH] slap in the proper cmd command additions --- appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 9f0efebb..5aa896ac 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -45,10 +45,10 @@ init: - set arch= - if "%PLATFORM%"=="x64" (set arch= Win64) - echo %APPVEYOR_BUILD_WORKER_IMAGE% -- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set CMAKE_GENERATOR=Visual Studio 15 2017%arch% ) -- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set CMAKE_GENERATOR=Visual Studio 14 2015%arch% ) -- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" ( set CMAKE_GENERATOR=Visual Studio 12 2013%arch% ) -- if not "%MINGW_VERSION%"==[""] ( set CMAKE_GENERATOR=MinGW Makefiles ) +- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" (set CMAKE_GENERATOR=Visual Studio 15 2017%arch%) +- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (set CMAKE_GENERATOR=Visual Studio 14 2015%arch%) +- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" (set CMAKE_GENERATOR=Visual Studio 12 2013%arch%) +- if DEFINED MINGW_VERSION ( set CMAKE_GENERATOR=MinGW Makefiles) - echo "%CMAKE_GENERATOR%" before_build: