From c45fac84eed72586df77cea6f0193ffe949c0798 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Fri, 28 Oct 2022 13:58:59 -0500 Subject: [PATCH] cmake: Use shallow clone for pcre2 This should speed up the clones and reduce unnecessary usage of both bandwidth and disk space. --- cmake/PCRE2.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/PCRE2.cmake b/cmake/PCRE2.cmake index 6e6bb5c68..a35be8b87 100644 --- a/cmake/PCRE2.cmake +++ b/cmake/PCRE2.cmake @@ -48,6 +48,7 @@ else() pcre2 GIT_REPOSITORY ${PCRE2_REPO} GIT_TAG "pcre2-10.36" + GIT_SHALLOW ON GIT_PROGRESS TRUE ) # Don't try FetchContent_MakeAvailable, there's no way to add EXCLUDE_FROM_ALL