summaryrefslogtreecommitdiffstats
path: root/Help/command/find_package.rst
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-01-09 16:19:50 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2019-01-14 15:42:10 (GMT)
commit427ebecdf5336b9915179464586d929850a95101 (patch)
treeeed27757672be81e088936534b761931385d6ee6 /Help/command/find_package.rst
parentc9854a5843ac75df32c26140e1b568a3f0018699 (diff)
downloadCMake-427ebecdf5336b9915179464586d929850a95101.zip
CMake-427ebecdf5336b9915179464586d929850a95101.tar.gz
CMake-427ebecdf5336b9915179464586d929850a95101.tar.bz2
Help/find_package: clarify intended behavior with REQUIRED QUIET
See #18773
Diffstat (limited to 'Help/command/find_package.rst')
-rw-r--r--Help/command/find_package.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index 937a930..cafef8c 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -23,9 +23,9 @@ Finds and loads settings from an external project. ``<PackageName>_FOUND``
will be set to indicate whether the package was found. When the
package is found package-specific information is provided through
variables and :ref:`Imported Targets` documented by the package itself. The
-``QUIET`` option disables messages if the package cannot be found. The
-``REQUIRED`` option stops processing with an error message if the package
-cannot be found.
+``QUIET`` option disables informational messages, including those indicating
+that the package cannot be found if it is not ``REQUIRED``. The ``REQUIRED``
+option stops processing with an error message if the package cannot be found.
A package-specific list of required components may be listed after the
``COMPONENTS`` option (or after the ``REQUIRED`` option if present).