Skip to content

Commit

Permalink
Bump minimal supporter Catch2 version to v3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Morwenn committed Dec 15, 2023
1 parent 3d264cc commit 24a95f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2015-2022 Morwenn
# Copyright (c) 2015-2023 Morwenn
# SPDX-License-Identifier: MIT

include(cpp-sort-utils)
Expand All @@ -15,8 +15,8 @@ option(CPPSORT_STATIC_TESTS "Whether to turn some tests into static assertions"
########################################
# Find or download Catch2

message(STATUS "Looking for Catch2 3.1.0+")
find_package(Catch2 3.1.0 QUIET)
message(STATUS "Looking for Catch2 3.5.0+")
find_package(Catch2 3.5.0 QUIET)
if (TARGET Catch2::Catch2)
get_target_property(Catch2_INCLUDE_DIRECTORY Catch2::Catch2 INTERFACE_INCLUDE_DIRECTORIES)
message(STATUS "Catch2 found: ${Catch2_INCLUDE_DIRECTORY}")
Expand All @@ -26,7 +26,7 @@ else()
FetchContent_Declare(
catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2
GIT_TAG v3.2.0
GIT_TAG v3.5.0
)

FetchContent_GetProperties(catch2)
Expand Down

0 comments on commit 24a95f3

Please sign in to comment.