Browse Source

Use shallow clone for vcpkg (#2006)

pull/1944/merge
m4xw 2 weeks ago committed by GitHub
parent
commit
67453dd4f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CMake/automate-vcpkg.cmake

2
CMake/automate-vcpkg.cmake

@ -116,7 +116,7 @@ endmacro() @@ -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.

Loading…
Cancel
Save