summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmPolicies.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx
index ea8726e..ae39904 100644
--- a/Source/cmPolicies.cxx
+++ b/Source/cmPolicies.cxx
@@ -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)
{