From d024d8524f4c36d8eac2d2b5f7696bf6807374b3 Mon Sep 17 00:00:00 2001 From: Henry Borchers Date: Wed, 11 Dec 2024 10:52:11 -0600 Subject: [PATCH] bump: update catch2 to 3.7.1 --- CMakeLists.txt | 4 ++-- tests/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0c2810d..740d20ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,8 +23,8 @@ FetchContent_Declare(libpybind11 ) FetchContent_Declare(libcatch2 - URL https://github.com/catchorg/Catch2/archive/v3.4.0.tar.gz - URL_HASH SHA1=4c308576c856a43dc88949a8f64ef90ebf94ae1b + URL https://github.com/catchorg/Catch2/archive/v3.7.1.tar.gz + URL_HASH SHA1=0c67df1524fd3ce88f656a3865ba4d4e4886168f DOWNLOAD_EXTRACT_TIMESTAMP TRUE ) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1df6e0f6..149bc9aa 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -52,7 +52,7 @@ if (BUILD_TESTING) FetchContent_MakeAvailable(libcatch2) FetchContent_GetProperties(libcatch2) - target_include_directories(Catch2 INTERFACE ${libcatch2_SOURCE_DIR}/src) + list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras) add_executable(cpp_tests test_basic.cpp $