about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/mapnik/catch2-src.patch
blob: 04c6f7add217c458c9fe03400d969e6008e236b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 0705ddce1..771291b88 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -7,8 +7,7 @@ include(FetchContent)
 
 FetchContent_Declare(
   Catch2
-  GIT_REPOSITORY https://github.com/catchorg/Catch2.git
-  GIT_TAG        v2.13.7)
+  SOURCE_DIR @catch2_src@)
 FetchContent_MakeAvailable(Catch2)
 
 if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.19.0")