Fix bug in trying to set stding with null
This commit is contained in:
parent
37b73a908a
commit
5897d078c6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue