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 31 32 33 34 35 36
|
From: Chow Loong Jin <hyperair@debian.org>
Date: Mon, 10 Mar 2025 23:58:54 +0800
Subject: Downgrade Catch2 version to 3.7
Debian doesn't have 3.8 yet
---
src/libseqarrange/CMakeLists.txt | 2 +-
tests/CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libseqarrange/CMakeLists.txt b/src/libseqarrange/CMakeLists.txt
index 2e14cec..416f84a 100644
--- a/src/libseqarrange/CMakeLists.txt
+++ b/src/libseqarrange/CMakeLists.txt
@@ -16,7 +16,7 @@ target_link_libraries(sequential_decimator PRIVATE libseqarrange)
if (SLIC3R_BUILD_TESTS)
- find_package(Catch2 3.8 REQUIRED)
+ find_package(Catch2 3.7 REQUIRED)
add_executable(libseqarrange_tests test/prusaparts.cpp test/seq_test_polygon.cpp test/seq_test_sequential.cpp test/seq_test_preprocess.cpp test/seq_test_interface.cpp)
target_include_directories(libseqarrange_tests PRIVATE src )
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 142b584..c47ea47 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,7 +1,7 @@
# TODO Add individual tests as executables in separate directories
# add_subirectory(<testcase>)
-find_package(Catch2 3.8 REQUIRED)
+find_package(Catch2 3.7 REQUIRED)
slic3r_remap_configs(Catch2::Catch2 RelWithDebInfo Release)
slic3r_remap_configs(Catch2::Catch2WithMain RelWithDebInfo Release)
|