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