ENH: remove beta stuff from version
This commit is contained in:
parent
5bc6a5fb9b
commit
7b45050c5d
|
@ -23,16 +23,12 @@ std::string cmVersion::GetReleaseVersion()
|
||||||
#if CMake_VERSION_MINOR & 1
|
#if CMake_VERSION_MINOR & 1
|
||||||
return cmsys_DATE_STAMP_STRING_FULL;
|
return cmsys_DATE_STAMP_STRING_FULL;
|
||||||
#else
|
#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-"
|
return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH) " RC-"
|
||||||
CMAKE_TO_STRING(CMake_VERSION_RC);
|
CMAKE_TO_STRING(CMake_VERSION_RC);
|
||||||
# else
|
# else
|
||||||
return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH);
|
return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH);
|
||||||
# endif
|
# endif
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue