From d10bef50d96b1da8e37ebea938664a562409e669 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 22 Dec 2023 18:04:53 +0200 Subject: [PATCH] Use git hash to catch2 fetch --- tests/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0a5688ae..2cb6ba93 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -19,7 +19,10 @@ if(Catch2_FOUND) else() message(STATUS "Bundled version of Catch will be downloaded and used.") include(FetchContent) - FetchContent_Declare(Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git GIT_TAG v3.3.2) + FetchContent_Declare(Catch2 + GIT_REPOSITORY https://github.com/catchorg/Catch2.git + GIT_TAG 3f0283de7a9c43200033da996ff9093be3ac84dc # v3.3.2 + ) FetchContent_MakeAvailable(Catch2) endif()