Perform a full clone of vcpkg instead of depth=1 (#4272)

The vcpkg versioning feature relies on retrieving information from its git repository history. This means users need a deep clone.
This commit is contained in:
Robert Schumacher
2021-11-11 11:54:32 +03:00
committed by GitHub
parent 63998e0de1
commit 206a818319
2 changed files with 2 additions and 2 deletions
@@ -7,7 +7,7 @@ $Uri = 'https://github.com/Microsoft/vcpkg.git'
$InstallDir = 'C:\vcpkg'
$VcpkgExecPath = 'vcpkg.exe'
git clone --depth=1 $Uri $InstallDir -q
git clone $Uri $InstallDir -q
# Build and integrate vcpkg
Invoke-Expression "$InstallDir\bootstrap-vcpkg.bat"