mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:29:16 +08:00
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:
parent
2cc4437567
commit
c45fac84ee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user