Commit 52b96e5b authored by Alexander Neundorf's avatar Alexander Neundorf
Browse files

BUG: don't crash if cmMakefile::RaiseScope() is called from a cmake file in

the top level directory in normal code (i.e. not within a function)

parent c0bb7378
......@@ -2999,8 +2999,8 @@ void cmMakefile::RaiseScope(const char *var, const char *varDef)
// otherwise do the parent
// otherwise do the parent (if one exists)
else if (this->LocalGenerator->GetParent())
cmMakefile *parent = this->LocalGenerator->GetParent()->GetMakefile();
if (parent)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment