diff options
author | Brad King <brad.king@kitware.com> | 2009-09-25 17:09:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-25 17:09:36 (GMT) |
commit | 528097c7942ec6ab4081a1a719338be874777876 (patch) | |
tree | 25a0b2e0150c7241f24ad6a4e5fb94a6d128fb6d /Source | |
parent | 5e06f0a557d32804d68d9a362ecae6f621a4606a (diff) | |
download | CMake-528097c7942ec6ab4081a1a719338be874777876.zip CMake-528097c7942ec6ab4081a1a719338be874777876.tar.gz CMake-528097c7942ec6ab4081a1a719338be874777876.tar.bz2 |
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.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmPolicies.cxx | 3 |
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) { |