From f88a1690d01c7e54a0e0e26b3699df2601858bde Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Mon, 12 Feb 2024 19:48:59 -0600 Subject: [PATCH] Update bundled PCRE2 to 10.42 Also use the new source URL on GitHub. --- .github/workflows/ci.yaml | 4 ++-- cmake/BundlePCRE.cmake | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 809a3d7..62e34a2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,8 +32,8 @@ jobs: - name: Cache PCRE2 uses: actions/cache@v2 with: - path: ${{runner.workspace}}/build/pcre-prefix/src/pcre2-10.36.tar.gz - key: pcre2-10.36 + path: ${{runner.workspace}}/build/pcre-prefix/src/pcre2-10.42.tar.gz + key: pcre2-10.42 - name: Clone project uses: actions/checkout@v2 - name: Get snapshot ID diff --git a/cmake/BundlePCRE.cmake b/cmake/BundlePCRE.cmake index 327a828..8dc9366 100644 --- a/cmake/BundlePCRE.cmake +++ b/cmake/BundlePCRE.cmake @@ -1,6 +1,6 @@ include(ExternalProject) -set(PCRE_TARGET_VERSION "10.36") +set(PCRE_TARGET_VERSION "10.42") set(PCRE_DIR ${CMAKE_CURRENT_BINARY_DIR}/pcre2) set(PCRE_C_FLAGS ${CMAKE_C_FLAGS}) @@ -34,8 +34,8 @@ set(PCRE_CMAKE_ARGS ) ExternalProject_Add(pcre - URL "http://ftp.pcre.org/pub/pcre/pcre2-${PCRE_TARGET_VERSION}.tar.gz" - URL_HASH SHA256=b95ddb9414f91a967a887d69617059fb672b914f56fa3d613812c1ee8e8a1a37 + URL "https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${PCRE_TARGET_VERSION}/pcre2-${PCRE_TARGET_VERSION}.tar.gz" + URL_HASH SHA256=c33b418e3b936ee3153de2c61cc638e7e4fe3156022a5c77d0711bcbb9d64f1f CMAKE_ARGS ${PCRE_CMAKE_ARGS} )