summaryrefslogtreecommitdiff
path: root/Source/cmVersion.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-06-17 09:49:06 -0400
committerBrad King <brad.king@kitware.com>2005-06-17 09:49:06 -0400
commit65e2c18d736f00cccafd6d13f9dcb3b42e2ce969 (patch)
tree9f86e7a33ea9bc22bf29634e16ab146eeda3ee0e /Source/cmVersion.h
parent6c1a83609e16d13a110b39dd6078275236040699 (diff)
downloadcmake-65e2c18d736f00cccafd6d13f9dcb3b42e2ce969.tar.gz
ENH: Enabling ability for CMAKE_MINIMUM_REQUIRED version to include patch level. Submitted by Alexander Neundorf.
Diffstat (limited to 'Source/cmVersion.h')
-rw-r--r--Source/cmVersion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVersion.h b/Source/cmVersion.h
index 92ed9882d0..29eb9d19bc 100644
--- a/Source/cmVersion.h
+++ b/Source/cmVersion.h
@@ -32,6 +32,7 @@ public:
*/
static unsigned int GetMajorVersion() { return CMake_VERSION_MAJOR; }
static unsigned int GetMinorVersion() { return CMake_VERSION_MINOR; }
+ static unsigned int GetPatchVersion() { return CMake_VERSION_PATCH; }
static std::string GetReleaseVersion();
static std::string GetCMakeVersion();
};