Fix bug in trying to set stding with null

This commit is contained in:
Andy Cedilnik 2002-08-27 14:45:25 -04:00
parent 37b73a908a
commit 5897d078c6
1 changed files with 4 additions and 0 deletions

View File

@ -161,6 +161,10 @@ void cmSourceFile::SetProperty(const char* prop, const char* value)
{ {
return; return;
} }
if (!value)
{
value = "NOTFOUND";
}
m_Properties[prop] = value; m_Properties[prop] = value;
} }