summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-09 13:02:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-06-09 13:03:13 (GMT)
commit9d43059132dd0506e7be6dd5a1310a32efbeddb5 (patch)
treee9a7bf537f7a151473c8b4efd2cd8a3953d277d9 /Help/command
parentb33b6014b2ddfb7b8007a18d24fad5a0e186f959 (diff)
parent92e93f5c9e309d0e2f9c119e9aa9bbff477602e2 (diff)
downloadCMake-9d43059132dd0506e7be6dd5a1310a32efbeddb5.zip
CMake-9d43059132dd0506e7be6dd5a1310a32efbeddb5.tar.gz
CMake-9d43059132dd0506e7be6dd5a1310a32efbeddb5.tar.bz2
Merge topic 'doc-using-deps-guide' into release-3.24
92e93f5c9e Help: Overhaul and expand the Using Dependencies Guide Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !7332
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/cmake_language.rst3
-rw-r--r--Help/command/find_package.rst6
2 files changed, 9 insertions, 0 deletions
diff --git a/Help/command/cmake_language.rst b/Help/command/cmake_language.rst
index e49862f..cb8d60b 100644
--- a/Help/command/cmake_language.rst
+++ b/Help/command/cmake_language.rst
@@ -236,6 +236,9 @@ Dependency Providers
.. versionadded:: 3.24
+.. note:: A high-level introduction to this feature can be found in the
+ :ref:`Using Dependencies Guide <dependency_providers_overview>`.
+
.. code-block:: cmake
cmake_language(SET_DEPENDENCY_PROVIDER <command>
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index e85892e..37be3cb 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -11,6 +11,12 @@ find_package
.. contents::
+.. note:: The :guide:`Using Dependencies Guide` provides a high-level
+ introduction to this general topic. It provides a broader overview of
+ where the ``find_package()`` command fits into the bigger picture,
+ including its relationship to the :module:`FetchContent` module.
+ The guide is recommended pre-reading before moving on to the details below.
+
Find a package (usually provided by something external to the project),
and load its package-specific details. Calls to this command can also
be intercepted by :ref:`dependency providers <dependency_providers>`.