diff --git a/ci-build.cmake b/ci-build.cmake index 437a7c18fd0..e878f8b6514 100644 --- a/ci-build.cmake +++ b/ci-build.cmake @@ -37,8 +37,8 @@ elseif("$ENV{TRAVIS_OS_NAME}" STREQUAL "osx") endif() if(DEFINED ENV{APPVEYOR}) - set(CMAKE_BUILD_TYPE Release) if("$ENV{APPVEYOR_BUILD_WORKER_IMAGE}" STREQUAL "Visual Studio 2017") + set(CMAKE_BUILD_TYPE Release) set(GENERATOR -G "Visual Studio 15") else() set(GENERATOR -G "Visual Studio 12")