mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-18 05:31:11 -05:00
Merge topic 'cps-reduce-optimism'
039a7b936d CPS: Be less optimistic about what we can read
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11494
This commit is contained in:
@@ -129,7 +129,7 @@ bool CheckSchemaVersion(Json::Value const& data)
|
||||
// Check that we understand this version.
|
||||
return cmSystemTools::VersionCompare(cmSystemTools::OP_GREATER_EQUAL,
|
||||
version, "0.13") &&
|
||||
cmSystemTools::VersionCompare(cmSystemTools::OP_LESS, version, "1");
|
||||
cmSystemTools::VersionCompare(cmSystemTools::OP_LESS, version, "0.14");
|
||||
|
||||
// TODO Eventually this probably needs to return the version tuple, and
|
||||
// should share code with cmPackageInfoReader::ParseVersion.
|
||||
|
||||
Reference in New Issue
Block a user