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) 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 )