diff options
author | Craig Scott <craig.scott@crascit.com> | 2021-09-11 08:38:54 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-09-11 08:39:10 (GMT) |
commit | dadb7a2ba5719644f0f04ab4a5f9c74906d5fbc7 (patch) | |
tree | 4708a3a9f950315bc2f31cd36f49836ff74462a9 /Help | |
parent | 00a2dc4d2f7bb5dcf2a4654863d7f74a3acb6676 (diff) | |
parent | 563139e5e96f9eacbbd835212323da73db719db4 (diff) | |
download | CMake-dadb7a2ba5719644f0f04ab4a5f9c74906d5fbc7.zip CMake-dadb7a2ba5719644f0f04ab4a5f9c74906d5fbc7.tar.gz CMake-dadb7a2ba5719644f0f04ab4a5f9c74906d5fbc7.tar.bz2 |
Merge topic 'document_find_package_version_restrictions'
563139e5e9 Help: find_package document version only supports numeric components
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6510
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/find_package.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst index 490a5c7..8388709 100644 --- a/Help/command/find_package.rst +++ b/Help/command/find_package.rst @@ -55,12 +55,13 @@ The ``[version]`` argument requests a version with which the package found should be compatible. There are two possible forms in which it may be specified: - * A single version with the format ``major[.minor[.patch[.tweak]]]``. + * A single version with the format ``major[.minor[.patch[.tweak]]]``, where + each component is a numeric value. * A version range with the format ``versionMin...[<]versionMax`` where - ``versionMin`` and ``versionMax`` have the same format as the single - version. By default, both end points are included. By specifying ``<``, - the upper end point will be excluded. Version ranges are only supported - with CMake 3.19 or later. + ``versionMin`` and ``versionMax`` have the same format and constraints + on components being integers as the single version. By default, both end + points are included. By specifying ``<``, the upper end point will be + excluded. Version ranges are only supported with CMake 3.19 or later. The ``EXACT`` option requests that the version be matched exactly. This option is incompatible with the specification of a version range. |