| 1 |
From: Chow Loong Jin <[email protected]> |
| 2 |
Date: Mon, 10 Mar 2025 23:22:53 +0800 |
| 3 |
Subject: Downgrade catch2 dependency to 3.7 |
| 4 |
|
| 5 |
--- |
| 6 |
tests/CMakeLists.txt | 4 ++-- |
| 7 |
1 file changed, 2 insertions(+), 2 deletions(-) |
| 8 |
|
| 9 |
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt |
| 10 |
index e821ad0..7e28f26 100644 |
| 11 |
--- a/tests/CMakeLists.txt |
| 12 |
+++ b/tests/CMakeLists.txt |
| 13 |
@@ -1,4 +1,4 @@ |
| 14 |
|
| 15 |
+find_package(Catch2 3.7 REQUIRED) |
| 16 |
|
| 17 |
include(Catch) |
| 18 |
|
| 19 |
@@ -30,4 +30,4 @@ endif() |
| 20 |
|
| 21 |
if (${PROJECT_NAME}_BUILD_COMPONENT_Convert) |
| 22 |
add_subdirectory(convert) |
| 23 |
|
| 24 |
|
| 25 |
+endif () |