Merge topic 'doc-package-compatibility-mode' into release-3.23

a82163839a CMakePackageConfigHelpers: Fix note about version files supporting ranges

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7254
This commit is contained in:
Brad King
2022-05-12 13:28:09 +00:00
committed by Kitware Robot
+3 -3
View File
@@ -177,9 +177,9 @@ macro.
packages with no binaries.
.. versionadded:: 3.19
``COMPATIBILITY_MODE`` ``AnyNewerVersion``, ``SameMajorVersion`` and
``SameMinorVersion`` handle the version range if any is specified
(see :command:`find_package` command for the details).
The version file generated by ``AnyNewerVersion``, ``SameMajorVersion`` and
``SameMinorVersion`` arguments of ``COMPATIBILITY`` handle the version range
if any is specified (see :command:`find_package` command for the details).
``ExactVersion`` mode is incompatible with version ranges and will display an
author warning if one is specified.