summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-08-27 18:45:25 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-08-27 18:45:25 (GMT)
commit5897d078c61fff81d24b4f1f4566cbfaa2969325 (patch)
treeb7d78638240b80167f11e23b8dcb47b5583d432e /Source/cmSourceFile.cxx
parent37b73a908afa5806c883f493a76d5a6a3ed11235 (diff)
downloadCMake-5897d078c61fff81d24b4f1f4566cbfaa2969325.zip
CMake-5897d078c61fff81d24b4f1f4566cbfaa2969325.tar.gz
CMake-5897d078c61fff81d24b4f1f4566cbfaa2969325.tar.bz2
Fix bug in trying to set stding with null
Diffstat (limited to 'Source/cmSourceFile.cxx')
-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;
}