diff options
| author | m4xw <m4x@m4xw.net> | 2022-11-23 13:28:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-23 13:28:51 +0100 |
| commit | 67453dd4f862f91f59bc4e1ba44d41b24f7c552e (patch) | |
| tree | ad20c6f6f8c5761ed35c29a19534fdf8787b3b7b | |
| parent | 9c162fc0ecd4c2f4b7ad23bb311cd06496da9ca1 (diff) | |
Use shallow clone for vcpkg (#2006)
| -rw-r--r-- | CMake/automate-vcpkg.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/automate-vcpkg.cmake b/CMake/automate-vcpkg.cmake index ee07f6bfb..409194959 100644 --- a/CMake/automate-vcpkg.cmake +++ b/CMake/automate-vcpkg.cmake @@ -116,7 +116,7 @@ endmacro() macro(_install_or_update_vcpkg) if(NOT EXISTS ${VCPKG_ROOT}) message(STATUS "Cloning vcpkg in ${VCPKG_ROOT}") - execute_process(COMMAND git clone https://github.com/Microsoft/vcpkg.git ${VCPKG_ROOT}) + execute_process(COMMAND git clone https://github.com/Microsoft/vcpkg.git ${VCPKG_ROOT} --depth 1) # If a reproducible build is desired (and potentially old libraries are # ok), uncomment the # following line and pin the vcpkg repository to a specific githash. |
