diff options
author | FeRD (Frank Dana) <ferdnyc@gmail.com> | 2022-06-26 00:46:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-06-27 17:26:46 (GMT) |
commit | 8d8d8ac772174044fcdda0ed9dd76fa381ce00aa (patch) | |
tree | 3b10259136f778d601a0dd2472f14fe6d72b77bf | |
parent | 8c562ece28b7a13ddb734b8c51710ebafe9ac570 (diff) | |
download | CMake-8d8d8ac772174044fcdda0ed9dd76fa381ce00aa.zip CMake-8d8d8ac772174044fcdda0ed9dd76fa381ce00aa.tar.gz CMake-8d8d8ac772174044fcdda0ed9dd76fa381ce00aa.tar.bz2 |
Help: Mark features new to 3.24 in Using Dependencies Guide
The sections on FetchContent's FIND_PACKAGE_ARGS and on
Dependency Providers only apply to CMake 3.24+, so add
versionadded markers at the start of both sections.
-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 |