From bed77b589615877d89262baeb5e659138b65593a Mon Sep 17 00:00:00 2001 From: Gonzalo Exequiel Pedone Date: Sun, 21 Feb 2021 16:31:51 -0300 Subject: [PATCH] Try to force a Release build in Visual Studio. --- ports/ci/appveyor/build.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/ci/appveyor/build.bat b/ports/ci/appveyor/build.bat index 8a9ad21..c4835e6 100755 --- a/ports/ci/appveyor/build.bat +++ b/ports/ci/appveyor/build.bat @@ -42,7 +42,7 @@ if "%CMAKE_GENERATOR:~0,13%" == "Visual Studio" ( cmake ^ -G "%CMAKE_GENERATOR%" ^ -A x64 ^ - -DCMAKE_BUILD_TYPE=Release ^ + --config Release ^ -DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^ .. cmake --build . @@ -75,7 +75,7 @@ if "%CMAKE_GENERATOR:~0,13%" == "Visual Studio" ( cmake ^ -G "%CMAKE_GENERATOR%" ^ -A Win32 ^ - -DCMAKE_BUILD_TYPE=Release ^ + --config Release ^ -DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^ .. cmake --build .