summaryrefslogtreecommitdiffstats
path: root/Source/cmVersion.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-06-13 14:15:13 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-06-13 14:15:13 (GMT)
commit7b45050c5d3f994a2ef64ed05e56184d563b4446 (patch)
tree0b911783451974430d5d992368d1b65240d22057 /Source/cmVersion.cxx
parent5bc6a5fb9bea58b55ff721cda0f6e4f362e96a6c (diff)
downloadCMake-7b45050c5d3f994a2ef64ed05e56184d563b4446.zip
CMake-7b45050c5d3f994a2ef64ed05e56184d563b4446.tar.gz
CMake-7b45050c5d3f994a2ef64ed05e56184d563b4446.tar.bz2
ENH: remove beta stuff from version
Diffstat (limited to 'Source/cmVersion.cxx')
-rw-r--r--Source/cmVersion.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/cmVersion.cxx b/Source/cmVersion.cxx
index 3ac02e0..77b19aa 100644
--- a/Source/cmVersion.cxx
+++ b/Source/cmVersion.cxx
@@ -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
}