From 5dc8aba0cdf7dea89bf43eeb2fe72371b04aaea4 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Thu, 4 Apr 2024 00:10:44 +0200 Subject: Initial packaging --- catch.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 catch.patch (limited to 'catch.patch') diff --git a/catch.patch b/catch.patch new file mode 100644 index 0000000..d7b74f4 --- /dev/null +++ b/catch.patch @@ -0,0 +1,22 @@ +diff --git a/src/catchwrapper.h b/src/catchwrapper.h +index b2108b2..9d57f82 100644 +--- a/src/catchwrapper.h ++++ b/src/catchwrapper.h +@@ -10,7 +10,12 @@ + #include + #include + +-#include <../third-party/catch.hpp> ++#ifdef CATCH3 ++#include ++using Catch::Approx; ++#else ++#include ++#endif + + #include "filecategorize.h" + +diff --git a/third-party/catch.hpp b/third-party/catch2/catch.hpp +similarity index 100% +rename from third-party/catch.hpp +rename to third-party/catch2/catch.hpp -- cgit v1.2.3