From 5897d078c61fff81d24b4f1f4566cbfaa2969325 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 27 Aug 2002 14:45:25 -0400 Subject: Fix bug in trying to set stding with null --- Source/cmSourceFile.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit v0.12