Document full version number with policy default
In CMake Policy documentation we specify the default behavior for the current version of CMake. This commit fixes that version by reporting the full version number instead of just major and minor.
This commit is contained in:
parent
5e06f0a557
commit
528097c794
|
@ -679,8 +679,7 @@ void cmPolicies::GetDocumentation(std::vector<cmDocumentationEntry>& v)
|
|||
if(i->first != cmPolicies::CMP0000)
|
||||
{
|
||||
full << " "
|
||||
<< "CMake version " << cmVersion::GetMajorVersion()
|
||||
<< "." << cmVersion::GetMinorVersion() << " ";
|
||||
<< "CMake version " << cmVersion::GetCMakeVersion() << " ";
|
||||
// add in some more text here based on status
|
||||
switch (i->second->Status)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue