From 895e65a9aa155396e319d780027a73038e4e7870 Mon Sep 17 00:00:00 2001 From: Thomas Madlener Date: Mon, 25 Nov 2024 09:08:43 +0100 Subject: [PATCH] Fetch Catch2 version that can be built --- source/tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tests/CMakeLists.txt b/source/tests/CMakeLists.txt index 98731e3..eff568b 100644 --- a/source/tests/CMakeLists.txt +++ b/source/tests/CMakeLists.txt @@ -34,7 +34,7 @@ if(NOT Catch2_FOUND) fETCHCONTENT_DECLARE( Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git - GIT_TAG v3.0.1 + GIT_TAG v${CATCH2_MIN_VERSION}.0 ) FETCHCONTENT_MAKEAVAILABLE(Catch2) set(CMAKE_MODULE_PATH ${Catch2_SOURCE_DIR}/extras ${CMAKE_MODULE_PATH})