|
|
@@ -2776,6 +2776,14 @@ bool cmSystemTools::VersionCompare(cmSystemTools::CompareOp op,
|
|
|
return op == cmSystemTools::OP_EQUAL;
|
|
|
}
|
|
|
|
|
|
+//----------------------------------------------------------------------------
|
|
|
+bool cmSystemTools::VersionCompareGreater(std::string const& lhs,
|
|
|
+ std::string const& rhs)
|
|
|
+{
|
|
|
+ return cmSystemTools::VersionCompare(
|
|
|
+ cmSystemTools::OP_GREATER, lhs.c_str(), rhs.c_str());
|
|
|
+}
|
|
|
+
|
|
|
//----------------------------------------------------------------------------
|
|
|
bool cmSystemTools::RemoveRPath(std::string const& file, std::string* emsg,
|
|
|
bool* removed)
|