diff --git a/lib/compat/vcbuild/vcpkg_install.bat b/lib/compat/vcbuild/vcpkg_install.bat index 64c1b199e0..31b4ff1891 100644 --- a/lib/compat/vcbuild/vcpkg_install.bat +++ b/lib/compat/vcbuild/vcpkg_install.bat @@ -36,6 +36,13 @@ REM ================================================================ dir vcpkg\vcpkg.exe >nul 2>nul && GOTO :install_libraries + git.exe version 2>nul + IF ERRORLEVEL 1 ( + echo "***" + echo "Git not found. Please adjust your CMD path or Git install option." + echo "***" + EXIT /B 1 ) + echo Fetching vcpkg in %cwd%vcpkg git.exe clone https://github.com/Microsoft/vcpkg vcpkg IF ERRORLEVEL 1 ( EXIT /B 1 )