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:
Brad King 2009-09-25 13:09:36 -04:00
parent 5e06f0a557
commit 528097c794
1 changed files with 1 additions and 2 deletions

View File

@ -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)
{