cmake: Use shallow clone for pcre2

This should speed up the clones and reduce unnecessary usage of both
bandwidth and disk space.
This commit is contained in:
Mahmoud Al-Qudsi 2022-10-28 13:58:59 -05:00
parent 2cc4437567
commit c45fac84ee

View File

@ -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