From 6d48f48d5d47fa79236b407c5bef343e432fd345 Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima <15070-e-kwsm@users.noreply.gitlab.kitware.com> Date: Tue, 7 Feb 2023 22:57:17 +0900 Subject: FetchContent: Bump documented example Catch2 to v3.0.1 The previous Catch2 v2.13.4 does not compile on some platforms [1]. [1] https://github.com/catchorg/Catch2/issues/2326 --- Help/guide/using-dependencies/index.rst | 2 +- Modules/FetchContent.cmake | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Help/guide/using-dependencies/index.rst b/Help/guide/using-dependencies/index.rst index bb519ad..8b270aa 100644 --- a/Help/guide/using-dependencies/index.rst +++ b/Help/guide/using-dependencies/index.rst @@ -277,7 +277,7 @@ for more): FetchContent_Declare( Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git - GIT_TAG de6fe184a9ac1a06895cdd1c9b437f0a0bdf14ad # v2.13.4 + GIT_TAG 605a34765aa5d5ecbf476b4598a862ada971b0cc # v3.0.1 ) FetchContent_MakeAvailable(googletest Catch2) diff --git a/Modules/FetchContent.cmake b/Modules/FetchContent.cmake index 9c828b4..8afb9bc 100644 --- a/Modules/FetchContent.cmake +++ b/Modules/FetchContent.cmake @@ -762,7 +762,7 @@ frameworks are available to the main build: FetchContent_Declare( Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git - GIT_TAG de6fe184a9ac1a06895cdd1c9b437f0a0bdf14ad # v2.13.4 + GIT_TAG 605a34765aa5d5ecbf476b4598a862ada971b0cc # v3.0.1 ) # After the following call, the CMake targets defined by googletest and @@ -796,7 +796,7 @@ to the declared details and leaving FetchContent_Declare( Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git - GIT_TAG de6fe184a9ac1a06895cdd1c9b437f0a0bdf14ad # v2.13.4 + GIT_TAG 605a34765aa5d5ecbf476b4598a862ada971b0cc # v3.0.1 FIND_PACKAGE_ARGS ) @@ -831,7 +831,7 @@ details: FetchContent_Declare( Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git - GIT_TAG de6fe184a9ac1a06895cdd1c9b437f0a0bdf14ad # v2.13.4 + GIT_TAG 605a34765aa5d5ecbf476b4598a862ada971b0cc # v3.0.1 OVERRIDE_FIND_PACKAGE ) -- cgit v0.12