cmLocalGenerator: Implement IsRootMakefile in terms of cmState.
This commit is contained in:
parent
4080ca497e
commit
7601a7b12d
|
@ -76,7 +76,7 @@ cmLocalGenerator::~cmLocalGenerator()
|
|||
|
||||
bool cmLocalGenerator::IsRootMakefile() const
|
||||
{
|
||||
return !this->GetParent();
|
||||
return !this->StateSnapshot.GetParent().IsValid();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue