summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmSourceFile.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx
index a6305b9..3c8a41d0 100644
--- a/Source/cmSourceFile.cxx
+++ b/Source/cmSourceFile.cxx
@@ -161,6 +161,10 @@ void cmSourceFile::SetProperty(const char* prop, const char* value)
{
return;
}
+ if (!value)
+ {
+ value = "NOTFOUND";
+ }
m_Properties[prop] = value;
}