diff --git a/scripts/cmake/vcpkg_from_git.cmake b/scripts/cmake/vcpkg_from_git.cmake index 0f62ed42495603..1768abc1d70791 100644 --- a/scripts/cmake/vcpkg_from_git.cmake +++ b/scripts/cmake/vcpkg_from_git.cmake @@ -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 --unshallow) + vcpkg_list(SET git_fetch_shallow_param) else() set(ref_to_fetch "${arg_REF}") endif()