Ver Fonte

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
Eisuke Kawashima há 2 anos atrás
pai
commit
6d48f48d5d
2 ficheiros alterados com 4 adições e 4 exclusões
  1. 1 1
      Help/guide/using-dependencies/index.rst
  2. 3 3
      Modules/FetchContent.cmake

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

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