File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ set("BUILD_${LIB_WAY}_LIBS" YES)
77include (FetchContent )
88CMAKE_CMP_0135 ()
99
10- set (CATCH2_HASH "c2fef0ffbe8af6b20e86f8d0e79b6aac " )
11- set (CATCH2_LOCAL_TAR ${CMAKE_CURRENT_SOURCE_DIR} /catch2 .tar.gz)
10+ set (CATCH2_HASH "7e64ff8a07b324996a26f3f5d7e7dad8 " )
11+ set (CATCH2_LOCAL_TAR ${CMAKE_CURRENT_SOURCE_DIR} /catch.3.13.0 .tar.gz)
1212
1313message (STATUS "Using local Catch2 tarball: ${CATCH2_LOCAL_TAR} " )
1414
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euox pipefail
33main () {
4- wget -O ./third_party/catch2 .tar.gz \
5- " https://github.com/catchorg/Catch2/archive/refs/tags/v3.10 .0.tar.gz"
4+ wget -O ./third_party/catch.3.13.0 .tar.gz \
5+ " https://github.com/catchorg/Catch2/archive/refs/tags/v3.13 .0.tar.gz"
66}
77main
Original file line number Diff line number Diff line change 22set -euox pipefail
33main () {
44 tar \
5- -xzvf third_party/catch2 .tar.gz \
5+ -xzvf third_party/catch.3.13.0 .tar.gz \
66 -C third_party/
77 # 定位到脚本所在目录(third_party)
88 local -r self_dir=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
You can’t perform that action at this time.
0 commit comments