Try to force a Release build in Visual Studio.

This commit is contained in:
Gonzalo Exequiel Pedone 2021-02-21 16:31:51 -03:00
parent 0c8acf5d08
commit bed77b5896
No known key found for this signature in database
GPG key ID: B8B09E63E9B85BAF

View file

@ -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 .