mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
FetchContent: Correct the documentation for FetchContent_MakeAvailable
The intended input variable is `FETCHCONTENT_SOURCE_DIR_<uppercaseName>` rather than `<lowercaseName>_SOURCE_DIR`, which is an output-only variable. This matches the actual implementation of `FetchContent_MakeAvailable` and the documentation for `cmake_language`.
This commit is contained in:
@@ -258,7 +258,7 @@ Commands
|
||||
:command:`FetchContent_Declare` for each dependency, and the first such call
|
||||
will control how that dependency will be made available, as described below.
|
||||
|
||||
If ``<lowercaseName>_SOURCE_DIR`` is not set:
|
||||
If ``FETCHCONTENT_SOURCE_DIR_<uppercaseName>`` is not set:
|
||||
|
||||
* .. versionadded:: 3.24
|
||||
|
||||
|
||||
Reference in New Issue
Block a user