diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-08-27 18:45:25 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-08-27 18:45:25 (GMT) |
commit | 5897d078c61fff81d24b4f1f4566cbfaa2969325 (patch) | |
tree | b7d78638240b80167f11e23b8dcb47b5583d432e /Source/cmSourceFile.cxx | |
parent | 37b73a908afa5806c883f493a76d5a6a3ed11235 (diff) | |
download | CMake-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.cxx | 4 |
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; } |