diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmDocumentation.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index b29dff6..283b020 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -1235,7 +1235,10 @@ void cmDocumentation::CreateManDocumentation() } this->AddSection("COPYRIGHT", cmDocumentationCopyright); - this->AddSection("SEE ALSO", &this->SeeAlsoSection[0]); + if(!this->SeeAlsoSection.empty()) + { + this->AddSection("SEE ALSO", &this->SeeAlsoSection[0]); + } this->AddSection("AUTHOR", cmDocumentationAuthor); } |