From dbb4e05254da5bb9e4bb9b5092c00fac5e7f4ca4 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sun, 10 Jul 2022 12:44:35 -0700 Subject: [PATCH] Revert "PCRE2.cmake: update minimum system PCRE2 version, use GIT_SHALLOW" This was in response to a feature we were using that required a very new PCRE2: that was backed out. So this reverts commit e63af7d006e85cd3e6a31060e71e497b239e813b. --- cmake/PCRE2.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/PCRE2.cmake b/cmake/PCRE2.cmake index 497441a29..b9138fe2e 100644 --- a/cmake/PCRE2.cmake +++ b/cmake/PCRE2.cmake @@ -6,7 +6,7 @@ set(PCRE2_SHOW_REPORT OFF CACHE BOOL "Show the final configuration report") set(PCRE2_BUILD_TESTS OFF CACHE BOOL "Build tests") set(PCRE2_BUILD_PCRE2GREP OFF CACHE BOOL "Build pcre2grep") -set(PCRE2_MIN_VERSION 10.35) +set(PCRE2_MIN_VERSION 10.21) # Look for a system-installed PCRE2. find_library(SYS_PCRE2_LIB pcre2-${PCRE2_WIDTH}) @@ -49,7 +49,6 @@ else() GIT_REPOSITORY ${PCRE2_REPO} GIT_TAG "72669190cb947f0cac1d038a8bb1820da59ef447" # tag: pcre2-10.36 GIT_PROGRESS TRUE - GIT_SHALLOW 1 ) # Don't try FetchContent_MakeAvailable, there's no way to add EXCLUDE_FROM_ALL # so we end up installing all of PCRE2 including its headers, man pages, etc.