diff options
author | Brad King <brad.king@kitware.com> | 2016-01-11 18:42:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-01-11 18:43:22 (GMT) |
commit | ad594de8cc9c4063830df58453b0679c209ff4d8 (patch) | |
tree | f9b49d229d2ccf400c9f17ca7a75e24e26ee042a /Source/cmSystemTools.h | |
parent | c173e37fa32b9d212cc6305f5e6dc881ba34e140 (diff) | |
download | CMake-ad594de8cc9c4063830df58453b0679c209ff4d8.zip CMake-ad594de8cc9c4063830df58453b0679c209ff4d8.tar.gz CMake-ad594de8cc9c4063830df58453b0679c209ff4d8.tar.bz2 |
cmSystemTools: Add VersionCompareEqual helper
Wrap a call to VersionCompare with OP_EQUAL.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index b6b0978..9cafbec 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -294,6 +294,8 @@ public: * Compare versions */ static bool VersionCompare(CompareOp op, const char* lhs, const char* rhs); + static bool VersionCompareEqual(std::string const& lhs, + std::string const& rhs); static bool VersionCompareGreater(std::string const& lhs, std::string const& rhs); |