mirror of https://github.com/microsoft/vcpkg.git
[vcpkg_from_git] Unshallow when fetching FETCH_REF (#49293)
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
This commit is contained in:
parent
40c89449f0
commit
b0a66e6a14
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue