cmLocalGenerator: Implement IsRootMakefile in terms of cmState.

This commit is contained in:
Stephen Kelly 2015-05-19 23:10:30 +02:00 committed by Brad King
parent 4080ca497e
commit 7601a7b12d
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ cmLocalGenerator::~cmLocalGenerator()
bool cmLocalGenerator::IsRootMakefile() const
{
return !this->GetParent();
return !this->StateSnapshot.GetParent().IsValid();
}
//----------------------------------------------------------------------------