diff options
author | Brad King <brad.king@kitware.com> | 2022-06-28 13:21:01 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-06-28 13:21:13 (GMT) |
commit | f0740662a6a98b71b37adfa038b3d5e6b8834309 (patch) | |
tree | b60cb803c1342f40f29f82adeeb0ff3e6123b29d | |
parent | 353a1357a7ff61f190182250de55171de125326c (diff) | |
parent | 8d8d8ac772174044fcdda0ed9dd76fa381ce00aa (diff) | |
download | CMake-f0740662a6a98b71b37adfa038b3d5e6b8834309.zip CMake-f0740662a6a98b71b37adfa038b3d5e6b8834309.tar.gz CMake-f0740662a6a98b71b37adfa038b3d5e6b8834309.tar.bz2 |
Merge topic 'depguide-fetchcontent-versioning' into release-3.24
8d8d8ac772 Help: Mark features new to 3.24 in Using Dependencies Guide
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7411
-rw-r--r-- | Help/guide/using-dependencies/index.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/guide/using-dependencies/index.rst b/Help/guide/using-dependencies/index.rst index 03285b6..6cab7ef 100644 --- a/Help/guide/using-dependencies/index.rst +++ b/Help/guide/using-dependencies/index.rst @@ -304,6 +304,8 @@ with this method. ``FetchContent`` And ``find_package()`` Integration =================================================== +.. versionadded:: 3.24 + Some dependencies support being added by either :command:`find_package` or :module:`FetchContent`. Such dependencies must ensure they define the same namespaced targets in both installed and built-from-source scenarios. @@ -375,6 +377,8 @@ For more advanced use cases, see the Dependency Providers ==================== +.. versionadded:: 3.24 + The preceding section discussed techniques that projects can use to specify their dependencies. Ideally, the project shouldn't really care where a dependency comes from, as long as it provides the things it expects (often |