blob: d7b74f4c8976a51c2144a24392ace5a4b7ca8140 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 <Tui/ZColor.h>
#include <Tui/ZDocument.h>
-#include <../third-party/catch.hpp>
+#ifdef CATCH3
+#include <catch2/catch_all.hpp>
+using Catch::Approx;
+#else
+#include <catch2/catch.hpp>
+#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
|