mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-24 19:59:47 +08:00
Help: find_package document version only supports numeric components
This commit is contained in:
@@ -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
|
should be compatible. There are two possible forms in which it may be
|
||||||
specified:
|
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
|
* A version range with the format ``versionMin...[<]versionMax`` where
|
||||||
``versionMin`` and ``versionMax`` have the same format as the single
|
``versionMin`` and ``versionMax`` have the same format and constraints
|
||||||
version. By default, both end points are included. By specifying ``<``,
|
on components being integers as the single version. By default, both end
|
||||||
the upper end point will be excluded. Version ranges are only supported
|
points are included. By specifying ``<``, the upper end point will be
|
||||||
with CMake 3.19 or later.
|
excluded. Version ranges are only supported with CMake 3.19 or later.
|
||||||
|
|
||||||
The ``EXACT`` option requests that the version be matched exactly. This option
|
The ``EXACT`` option requests that the version be matched exactly. This option
|
||||||
is incompatible with the specification of a version range.
|
is incompatible with the specification of a version range.
|
||||||
|
|||||||
Reference in New Issue
Block a user