mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
Fix bug in trying to set stding with null
This commit is contained in:
@@ -161,6 +161,10 @@ void cmSourceFile::SetProperty(const char* prop, const char* value)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (!value)
|
||||
{
|
||||
value = "NOTFOUND";
|
||||
}
|
||||
m_Properties[prop] = value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user