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