added beta release support

This commit is contained in:
Ken Martin 2003-08-11 14:45:16 -04:00
parent 3c1292a388
commit 3baca1e34f
1 changed files with 4 additions and 0 deletions

View File

@ -74,7 +74,11 @@ const char* cmMakefile::GetReleaseVersion()
#if CMake_VERSION_MINOR & 1 #if CMake_VERSION_MINOR & 1
return "development"; return "development";
#else #else
# if CMake_VERSION_PATCH == 0
return "beta";
# else
return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH); return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH);
# endif
#endif #endif
} }