From 3baca1e34f5b05c464d456cdaac584767aa23941 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 11 Aug 2003 14:45:16 -0400 Subject: [PATCH] added beta release support --- Source/cmMakefile.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index bcf20af77..178e7ac63 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 }