about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/mapnik/catch2-src.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/mapnik/catch2-src.patch')
-rw-r--r--nixpkgs/pkgs/development/libraries/mapnik/catch2-src.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/mapnik/catch2-src.patch b/nixpkgs/pkgs/development/libraries/mapnik/catch2-src.patch
new file mode 100644
index 000000000000..04c6f7add217
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/mapnik/catch2-src.patch
@@ -0,0 +1,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")