summaryrefslogtreecommitdiffstats
path: root/Source/cmVersion.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-06-17 13:49:06 (GMT)
committerBrad King <brad.king@kitware.com>2005-06-17 13:49:06 (GMT)
commit65e2c18d736f00cccafd6d13f9dcb3b42e2ce969 (patch)
tree9f86e7a33ea9bc22bf29634e16ab146eeda3ee0e /Source/cmVersion.h
parent6c1a83609e16d13a110b39dd6078275236040699 (diff)
downloadCMake-65e2c18d736f00cccafd6d13f9dcb3b42e2ce969.zip
CMake-65e2c18d736f00cccafd6d13f9dcb3b42e2ce969.tar.gz
CMake-65e2c18d736f00cccafd6d13f9dcb3b42e2ce969.tar.bz2
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 92ed988..29eb9d1 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();
};