Help: Clarify find_package version range limitation

Issue: #26470
This commit is contained in:
SunBlack 2024-11-26 14:47:59 +01:00 committed by Brad King
parent 08c0fcb4d0
commit 041537e5ce

View File

@ -184,6 +184,11 @@ specified:
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.
Note that it is not possible to extend the compatibility range specified
by the package's version file. For example, if the package version file
specifies compatibility within a minor version, it is not possible to
extend the compatibility to several minor versions by specifying a
version range.
The ``EXACT`` option requests that the version be matched exactly. This option
is incompatible with the specification of a version range.