[vcpkg_from_git] Unshallow when fetching FETCH_REF (#49293)

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
This commit is contained in:
Luc Touraille 2026-01-29 23:08:42 +01:00 committed by GitHub
parent 40c89449f0
commit b0a66e6a14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ function(vcpkg_from_git)
if(DEFINED arg_FETCH_REF)
set(ref_to_fetch "${arg_FETCH_REF}")
vcpkg_list(SET git_fetch_shallow_param)
vcpkg_list(SET git_fetch_shallow_param --unshallow)
else()
set(ref_to_fetch "${arg_REF}")
endif()