Updated install_gtest.bat
The g_test.bat was checking against a string instead of the Variable leading to a error when gtest was already installed and the bat was run
This commit is contained in:
parent
0ce3559162
commit
1c559660e0
|
@ -86,7 +86,7 @@ if %errorlevel% neq 0 goto error_cmake
|
||||||
echo %FILE_N% Building...
|
echo %FILE_N% Building...
|
||||||
cmake --build . --config Release --target install
|
cmake --build . --config Release --target install
|
||||||
|
|
||||||
if errorlevel neq 0 goto error_install
|
if %errorlevel% neq 0 goto error_install
|
||||||
|
|
||||||
rem Remove the downloaded Google Test source because is no more needed
|
rem Remove the downloaded Google Test source because is no more needed
|
||||||
if %DEL_SRC% == true (
|
if %DEL_SRC% == true (
|
||||||
|
|
Loading…
Reference in New Issue