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