From bc70b458adb6204fc47a6f19c3216fcac86573ce Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sat, 25 May 2024 12:54:21 +1000 Subject: Help: Minor grammar improvements for FetchContent --- Modules/FetchContent.cmake | 79 ++++++++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 38 deletions(-) diff --git a/Modules/FetchContent.cmake b/Modules/FetchContent.cmake index 4532b78..189cb96 100644 --- a/Modules/FetchContent.cmake +++ b/Modules/FetchContent.cmake @@ -52,7 +52,7 @@ dependencies and then ensuring they are populated with a separate call: FetchContent_MakeAvailable(googletest myCompanyIcons) The :command:`FetchContent_MakeAvailable` command ensures the named -dependencies have been populated, either by an earlier call or by populating +dependencies have been populated, either by an earlier call, or by populating them itself. When performing the population, it will also add them to the main build, if possible, so that the main build can use the populated projects' targets, etc. See the command's documentation for how these steps @@ -98,7 +98,8 @@ custom steps looks like this: The ``FetchContent`` module also supports defining and populating content in a single call, with no check for whether the content has been populated elsewhere already. This should not be done in projects, but may -be appropriate for populating content in CMake's script mode. +be appropriate for populating content in +:ref:`CMake script mode