diff --git a/Util/InstallersWin/install_gtest.bat b/Util/InstallersWin/install_gtest.bat index ae9fb7de3..5d2a6896d 100644 --- a/Util/InstallersWin/install_gtest.bat +++ b/Util/InstallersWin/install_gtest.bat @@ -86,7 +86,7 @@ if %errorlevel% neq 0 goto error_cmake echo %FILE_N% Building... 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 if %DEL_SRC% == true (