summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index fabfd35..870fd6f 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3162,6 +3162,10 @@ const char *cmMakefile::GetProperty(const char* prop)
const char *cmMakefile::GetProperty(const char* prop,
cmProperty::ScopeType scope)
{
+ if(!prop)
+ {
+ return 0;
+ }
// watch for specific properties
static std::string output;
output = "";