mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -05:00
find_package: Add support of version range
This enhancement is the first step for solving issue #21107
This commit is contained in:
committed by
Marc Chevrier
parent
09095dbcd2
commit
d7df81067b
@@ -158,14 +158,27 @@ private:
|
||||
|
||||
std::map<std::string, cmPolicies::PolicyID> DeprecatedFindModules;
|
||||
|
||||
static const cm::string_view VERSION_ENDPOINT_INCLUDED;
|
||||
static const cm::string_view VERSION_ENDPOINT_EXCLUDED;
|
||||
|
||||
std::string Name;
|
||||
std::string Variable;
|
||||
std::string VersionComplete;
|
||||
std::string VersionRange;
|
||||
cm::string_view VersionRangeMin;
|
||||
cm::string_view VersionRangeMax;
|
||||
std::string Version;
|
||||
unsigned int VersionMajor = 0;
|
||||
unsigned int VersionMinor = 0;
|
||||
unsigned int VersionPatch = 0;
|
||||
unsigned int VersionTweak = 0;
|
||||
unsigned int VersionCount = 0;
|
||||
std::string VersionMax;
|
||||
unsigned int VersionMaxMajor = 0;
|
||||
unsigned int VersionMaxMinor = 0;
|
||||
unsigned int VersionMaxPatch = 0;
|
||||
unsigned int VersionMaxTweak = 0;
|
||||
unsigned int VersionMaxCount = 0;
|
||||
bool VersionExact = false;
|
||||
std::string FileFound;
|
||||
std::string VersionFound;
|
||||
|
||||
Reference in New Issue
Block a user