ENH: remove beta stuff from version

This commit is contained in:
Bill Hoffman 2008-06-13 10:15:13 -04:00
parent 5bc6a5fb9b
commit 7b45050c5d
1 changed files with 2 additions and 6 deletions

View File

@ -23,15 +23,11 @@ std::string cmVersion::GetReleaseVersion()
#if CMake_VERSION_MINOR & 1
return cmsys_DATE_STAMP_STRING_FULL;
#else
# if CMake_VERSION_PATCH == 1
return "1-beta";
# else
# ifdef CMake_VERSION_RC
# ifdef CMake_VERSION_RC
return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH) " RC-"
CMAKE_TO_STRING(CMake_VERSION_RC);
# else
# else
return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH);
# endif
# endif
#endif
}