Try to force a Release build in Visual Studio 2.
This commit is contained in:
parent
bed77b5896
commit
6304dfa4ec
1 changed files with 4 additions and 4 deletions
|
@ -42,10 +42,10 @@ if "%CMAKE_GENERATOR:~0,13%" == "Visual Studio" (
|
|||
cmake ^
|
||||
-G "%CMAKE_GENERATOR%" ^
|
||||
-A x64 ^
|
||||
--config Release ^
|
||||
-DCMAKE_BUILD_TYPE=Release ^
|
||||
-DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^
|
||||
..
|
||||
cmake --build .
|
||||
cmake --config Release --build .
|
||||
)
|
||||
|
||||
cmake --build .
|
||||
|
@ -75,10 +75,10 @@ if "%CMAKE_GENERATOR:~0,13%" == "Visual Studio" (
|
|||
cmake ^
|
||||
-G "%CMAKE_GENERATOR%" ^
|
||||
-A Win32 ^
|
||||
--config Release ^
|
||||
-DCMAKE_BUILD_TYPE=Release ^
|
||||
-DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^
|
||||
..
|
||||
cmake --build .
|
||||
cmake --config Release --build .
|
||||
)
|
||||
|
||||
cd ..
|
||||
|
|
Loading…
Reference in a new issue