Skip to content

Commit

Permalink
cmake: upgrade catch2 to the latest version (v2.13.7)
Browse files Browse the repository at this point in the history
v2.9.1 of catch2 fails to compile on apple m1 due to this
catchorg/Catch2#1084
  • Loading branch information
arkivm committed Dec 29, 2021
1 parent fab3b53 commit 6c7c4a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ endif()
# Dependencies ###################

if(BUILD_TESTING)
find_package(Catch2 QUIET)
find_package(Catch2 2.13.7 QUIET)
if(NOT Catch2_FOUND)
include(FetchContent)
FetchContent_Declare(catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG v2.9.1)
GIT_TAG v2.13.7)

FetchContent_GetProperties(catch2)
if(NOT catch2_POPULATED)
Expand Down

0 comments on commit 6c7c4a4

Please sign in to comment.