summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2003-08-11 18:45:16 (GMT)
committerKen Martin <ken.martin@kitware.com>2003-08-11 18:45:16 (GMT)
commit3baca1e34f5b05c464d456cdaac584767aa23941 (patch)
tree001224ed2373aa6a4d7b3623ffc4ced7ed511b47 /Source
parent3c1292a388d7ef95dc628b03143a3691037596bd (diff)
downloadCMake-3baca1e34f5b05c464d456cdaac584767aa23941.zip
CMake-3baca1e34f5b05c464d456cdaac584767aa23941.tar.gz
CMake-3baca1e34f5b05c464d456cdaac584767aa23941.tar.bz2
added beta release support
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index bcf20af..178e7ac 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -74,7 +74,11 @@ const char* cmMakefile::GetReleaseVersion()
#if CMake_VERSION_MINOR & 1
return "development";
#else
+# if CMake_VERSION_PATCH == 0
+ return "beta";
+# else
return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH);
+# endif
#endif
}