From af8fc14f71bfa154f4ebff2f56af10aa55579e7e Mon Sep 17 00:00:00 2001 From: cliffg-softwarelibre Date: Fri, 12 Dec 2025 13:24:43 -0700 Subject: [PATCH 1/2] Updating CPM download version --- cmake/download_cpm.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/download_cpm.cmake b/cmake/download_cpm.cmake index dd69ebe..6d7718c 100644 --- a/cmake/download_cpm.cmake +++ b/cmake/download_cpm.cmake @@ -4,7 +4,7 @@ file( DOWNLOAD - https://github.com/cpm-cmake/CPM.cmake/releases/download/v0.40.0/CPM.cmake + https://github.com/cpm-cmake/CPM.cmake/releases/download/v0.42.0/CPM.cmake ${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake ) include(${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake) From c63af32338d642c744e11c153f43d79bc2ad2d3a Mon Sep 17 00:00:00 2001 From: cliffg-softwarelibre Date: Fri, 12 Dec 2025 13:28:41 -0700 Subject: [PATCH 2/2] Updated Catch2 version and copyright years --- examples/CMakeLists.txt | 2 +- examples/intro_generic_programming/CMakeLists.txt | 4 ++-- examples/std_span/CMakeLists.txt | 4 ++-- examples/unit_test_with_catch2/CMakeLists.txt | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 9039a54..e360f22 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2024-2025 by Cliff Green +# Copyright (c) 2024-2026 by Cliff Green # # This CMake file invokes all of the example code CMake files for # the presentations repository. Each subdirectory can be built diff --git a/examples/intro_generic_programming/CMakeLists.txt b/examples/intro_generic_programming/CMakeLists.txt index d9f0fb6..0a857a4 100644 --- a/examples/intro_generic_programming/CMakeLists.txt +++ b/examples/intro_generic_programming/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2024-2025 by Cliff Green +# Copyright (c) 2024-2026 by Cliff Green # # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.txt or copy at https://www.boost.org/LICENSE_1_0.txt) @@ -15,7 +15,7 @@ target_compile_features ( intro_generic_programming_test PRIVATE cxx_std_20 ) # add dependencies include ( ../../cmake/download_cpm.cmake ) -CPMAddPackage ( "gh:catchorg/Catch2@3.8.0" ) +CPMAddPackage ( "gh:catchorg/Catch2@3.11.0" ) CPMAddPackage ( "gh:TimQuelch/decimal#1.0.0" ) # link dependencies diff --git a/examples/std_span/CMakeLists.txt b/examples/std_span/CMakeLists.txt index db4aab0..9107527 100644 --- a/examples/std_span/CMakeLists.txt +++ b/examples/std_span/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2024-2025 by Cliff Green +# Copyright (c) 2024-2026 by Cliff Green # # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.txt or copy at https://www.boost.org/LICENSE_1_0.txt) @@ -15,7 +15,7 @@ target_compile_features ( std_span_test PRIVATE cxx_std_20 ) # add dependencies include ( ../../cmake/download_cpm.cmake ) -CPMAddPackage ( "gh:catchorg/Catch2@3.8.0" ) +CPMAddPackage ( "gh:catchorg/Catch2@3.11.0" ) # link dependencies target_link_libraries ( std_span_test PRIVATE Catch2::Catch2WithMain ) diff --git a/examples/unit_test_with_catch2/CMakeLists.txt b/examples/unit_test_with_catch2/CMakeLists.txt index 4709170..44051c2 100644 --- a/examples/unit_test_with_catch2/CMakeLists.txt +++ b/examples/unit_test_with_catch2/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2024-2025 by Cliff Green +# Copyright (c) 2024-2026 by Cliff Green # # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.txt or copy at https://www.boost.org/LICENSE_1_0.txt) @@ -15,7 +15,7 @@ target_compile_features ( unit_test_with_catch2_test PRIVATE cxx_std_20 ) # add dependencies include ( ../../cmake/download_cpm.cmake ) -CPMAddPackage ( "gh:catchorg/Catch2@3.8.0" ) +CPMAddPackage ( "gh:catchorg/Catch2@3.11.0" ) # link dependencies target_link_libraries ( unit_test_with_catch2_test PRIVATE Catch2::Catch2WithMain )