summaryrefslogtreecommitdiffstats
path: root/Help/guide/using-dependencies
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-28 13:21:01 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-06-28 13:21:14 (GMT)
commitf908b4b1e9bb187923aefc1e21d4b84bb609aef9 (patch)
treef56683dd66a15affe2fe3fe4c1880598e88900c7 /Help/guide/using-dependencies
parente646b1fce7643a77831a0d70f0d6ca658c561884 (diff)
parent8d8d8ac772174044fcdda0ed9dd76fa381ce00aa (diff)
downloadCMake-f908b4b1e9bb187923aefc1e21d4b84bb609aef9.zip
CMake-f908b4b1e9bb187923aefc1e21d4b84bb609aef9.tar.gz
CMake-f908b4b1e9bb187923aefc1e21d4b84bb609aef9.tar.bz2
Merge topic 'depguide-fetchcontent-versioning'
8d8d8ac772 Help: Mark features new to 3.24 in Using Dependencies Guide Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7411
Diffstat (limited to 'Help/guide/using-dependencies')
-rw-r--r--Help/guide/using-dependencies/index.rst4
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