summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/cmDefinePropertyCommand.cxx6
-rw-r--r--Source/cmDefinePropertyCommand.h4
2 files changed, 4 insertions, 6 deletions
diff --git a/Source/cmDefinePropertyCommand.cxx b/Source/cmDefinePropertyCommand.cxx
index fbdefedeff..86143c7336 100644
--- a/Source/cmDefinePropertyCommand.cxx
+++ b/Source/cmDefinePropertyCommand.cxx
@@ -98,13 +98,11 @@ bool cmDefinePropertyCommand
}
else if(doing == DoingBrief)
{
- doing = DoingNone;
- this->BriefDocs = args[i];
+ this->BriefDocs += args[i];
}
else if(doing == DoingFull)
{
- doing = DoingNone;
- this->FullDocs = args[i];
+ this->FullDocs += args[i];
}
else
{
diff --git a/Source/cmDefinePropertyCommand.h b/Source/cmDefinePropertyCommand.h
index 36c6913617..c63c3101d9 100644
--- a/Source/cmDefinePropertyCommand.h
+++ b/Source/cmDefinePropertyCommand.h
@@ -56,8 +56,8 @@ public:
" define_property(<GLOBAL | DIRECTORY | TARGET | SOURCE |\n"
" TEST | VARIABLE | CACHED_VARIABLE>\n"
" PROPERTY <name> [INHERITED]\n"
- " BRIEF_DOCS <brief-doc>\n"
- " FULL_DOCS <full-doc>)\n"
+ " BRIEF_DOCS <brief-doc> [docs...]\n"
+ " FULL_DOCS <full-doc> [docs...])\n"
"Define one property in a scope for use with the "
"set_property and get_property commands. "
"This is primarily useful to associate documentation with property "