1diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
2index 0705ddce1..771291b88 100644
3--- a/test/CMakeLists.txt
4+++ b/test/CMakeLists.txt
5@@ -7,8 +7,7 @@ include(FetchContent)
6
7 FetchContent_Declare(
8 Catch2
9- GIT_REPOSITORY https://github.com/catchorg/Catch2.git
10- GIT_TAG v2.13.7)
11+ SOURCE_DIR @catch2_src@)
12 FetchContent_MakeAvailable(Catch2)
13
14 if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.19.0")