diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-07-25 12:03:41 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-07-25 12:04:34 (GMT) |
commit | e305fec8ad15420d4d79a1543d7a495a4f1f769a (patch) | |
tree | f1f04ec45e8bfcfaddb7f51a18925eec0cd92558 /Help | |
parent | acc98dcbecfe270ac3dfc16051b0987eb4e6b67a (diff) | |
parent | 1796ffbde916bb960466d60d8d93defb45e877c0 (diff) | |
download | CMake-e305fec8ad15420d4d79a1543d7a495a4f1f769a.zip CMake-e305fec8ad15420d4d79a1543d7a495a4f1f769a.tar.gz CMake-e305fec8ad15420d4d79a1543d7a495a4f1f769a.tar.bz2 |
Merge topic 'doc-CMP0097-FetchContent' into release-3.24
1796ffbde9 Help: CMP0097 applies to FetchContent as well
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7504
Diffstat (limited to 'Help')
-rw-r--r-- | Help/policy/CMP0097.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Help/policy/CMP0097.rst b/Help/policy/CMP0097.rst index 2240874..24957d0 100644 --- a/Help/policy/CMP0097.rst +++ b/Help/policy/CMP0097.rst @@ -4,9 +4,11 @@ CMP0097 .. versionadded:: 3.16 :command:`ExternalProject_Add` with ``GIT_SUBMODULES ""`` initializes no -submodules. +submodules. The policy also applies to :command:`FetchContent_Declare`, +which uses the same download and update features as +:command:`ExternalProject_Add`. -The module provides a ``GIT_SUBMODULES`` option which controls what submodules +The commands provide a ``GIT_SUBMODULES`` option which controls what submodules to initialize and update. Starting with CMake 3.16, explicitly setting ``GIT_SUBMODULES`` to an empty string means no submodules will be initialized or updated. |