blob: 74abb8ae2f5178352d3f7f6cf0458375e05243d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -32,7 +32,7 @@ if (Threads_FOUND)
target_link_libraries(CsSignalTest
PUBLIC
CsSignal
- Catch2::Catch2
+ Catch2::Catch2WithMain
Threads::Threads
)
--- a/test/cs_catch2.h
+++ b/test/cs_catch2.h
@@ -18,7 +18,7 @@
#define CATCH_CONFIG_EXPERIMENTAL_REDIRECT
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
namespace Catch {
--- a/test/test_main.cpp
+++ b/test/test_main.cpp
@@ -18,4 +18,4 @@
#define CATCH_CONFIG_MAIN
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
|