mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-28 19:58:34 -06:00
Merge topic 'doc-fetchcontent-gtest-example' into release-3.24
daa2a6cda6 Help: Fix wrong casing of GTest in FetchContent integration example
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7644
This commit is contained in:
@@ -772,7 +772,7 @@ to the declared details and leaving
|
||||
googletest
|
||||
GIT_REPOSITORY https://github.com/google/googletest.git
|
||||
GIT_TAG 703bd9caab50b139428cea1aaff9974ebee5742e # release-1.10.0
|
||||
FIND_PACKAGE_ARGS NAMES gtest
|
||||
FIND_PACKAGE_ARGS NAMES GTest
|
||||
)
|
||||
FetchContent_Declare(
|
||||
Catch2
|
||||
@@ -786,7 +786,7 @@ to the declared details and leaving
|
||||
|
||||
For ``Catch2``, no additional arguments to :command:`find_package` are needed,
|
||||
so no additional arguments are provided after the ``FIND_PACKAGE_ARGS``
|
||||
keyword. For ``googletest``, its package is more commonly called ``gtest``,
|
||||
keyword. For ``googletest``, its package is more commonly called ``GTest``,
|
||||
so arguments are added to support it being found by that name.
|
||||
|
||||
If the user wanted to disable :command:`FetchContent_MakeAvailable` from
|
||||
|
||||
Reference in New Issue
Block a user