summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}