summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-12 13:28:09 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-05-12 13:28:15 (GMT)
commit2019bf509268e336f4f68ddf0c05dce49dc289c6 (patch)
tree08284619aa42df69280cb7472d27084129e35958
parentcc207014cfb12f9eb9dc3623fa42dc8478dee6b6 (diff)
parenta82163839a97bbc93d1f4082e99082abbe94a797 (diff)
downloadCMake-2019bf509268e336f4f68ddf0c05dce49dc289c6.zip
CMake-2019bf509268e336f4f68ddf0c05dce49dc289c6.tar.gz
CMake-2019bf509268e336f4f68ddf0c05dce49dc289c6.tar.bz2
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
-rw-r--r--Modules/CMakePackageConfigHelpers.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/CMakePackageConfigHelpers.cmake b/Modules/CMakePackageConfigHelpers.cmake
index 5813956..6f5702a 100644
--- a/Modules/CMakePackageConfigHelpers.cmake
+++ b/Modules/CMakePackageConfigHelpers.cmake
@@ -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.