diff options
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index da69073..4068259 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -2355,9 +2355,7 @@ int cmake::DumpDocumentationToFile(std::ostream& f) const char *terse; const char *full; char tmp[1024]; - sprintf(tmp,"Version %d.%d (%s)", cmVersion::GetMajorVersion(), - cmVersion::GetMinorVersion(), - cmVersion::GetReleaseVersion().c_str()); + sprintf(tmp,"Version %s", cmVersion::GetCMakeVersion()); f << "<html>\n"; f << "<h1>Documentation for commands of CMake " << tmp << "</h1>\n"; f << "<ul>\n"; |