summaryrefslogtreecommitdiffstats
path: root/Source/cmPropertyDefinitionMap.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-23 14:40:49 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-10-23 14:40:49 (GMT)
commit923b51ece003a658b4876743c3d9b6567c43e7e3 (patch)
tree0009d8c94dba93b63d05b3af2b4d38cbacbb111a /Source/cmPropertyDefinitionMap.cxx
parent712758dfc3a3f6f82f90d5808eec2eed433beb42 (diff)
downloadCMake-923b51ece003a658b4876743c3d9b6567c43e7e3.zip
CMake-923b51ece003a658b4876743c3d9b6567c43e7e3.tar.gz
CMake-923b51ece003a658b4876743c3d9b6567c43e7e3.tar.bz2
COMP: fix for when STRICT is defined, and fix for props that have no docs
Diffstat (limited to 'Source/cmPropertyDefinitionMap.cxx')
-rw-r--r--Source/cmPropertyDefinitionMap.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmPropertyDefinitionMap.cxx b/Source/cmPropertyDefinitionMap.cxx
index 72488e1..b9d0cde 100644
--- a/Source/cmPropertyDefinitionMap.cxx
+++ b/Source/cmPropertyDefinitionMap.cxx
@@ -87,7 +87,10 @@ void cmPropertyDefinitionMap
cmSystemTools::UpperCase(secName).c_str());
}
cmDocumentationEntry e = j->second.GetDocumentation();
- v[secName]->Append(e);
+ if (e.Brief.size() || e.Full.size())
+ {
+ v[secName]->Append(e);
+ }
}
}