added beta release support
This commit is contained in:
parent
3c1292a388
commit
3baca1e34f
|
@ -73,9 +73,13 @@ const char* cmMakefile::GetReleaseVersion()
|
||||||
{
|
{
|
||||||
#if CMake_VERSION_MINOR & 1
|
#if CMake_VERSION_MINOR & 1
|
||||||
return "development";
|
return "development";
|
||||||
|
#else
|
||||||
|
# if CMake_VERSION_PATCH == 0
|
||||||
|
return "beta";
|
||||||
# else
|
# else
|
||||||
return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH);
|
return "patch " CMAKE_TO_STRING(CMake_VERSION_PATCH);
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int cmMakefile::GetCacheMajorVersion()
|
unsigned int cmMakefile::GetCacheMajorVersion()
|
||||||
|
|
Loading…
Reference in New Issue