summaryrefslogtreecommitdiffstats
path: root/Modules
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:16 (GMT)
commitc67f0cd5924556b9858f2bc67b673ea47f8d2391 (patch)
tree23ccfcca78a513528034da87d73a6e229cd9985b /Modules
parent9088133eec73c4406d6e3e07d500e924e59a5cbd (diff)
parenta82163839a97bbc93d1f4082e99082abbe94a797 (diff)
downloadCMake-c67f0cd5924556b9858f2bc67b673ea47f8d2391.zip
CMake-c67f0cd5924556b9858f2bc67b673ea47f8d2391.tar.gz
CMake-c67f0cd5924556b9858f2bc67b673ea47f8d2391.tar.bz2
Merge topic 'doc-package-compatibility-mode'
a82163839a CMakePackageConfigHelpers: Fix note about version files supporting ranges Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7254
Diffstat (limited to 'Modules')
-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.