diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index b29dff619..283b020ec 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); }