cmLocalGenerator: Implement IsRootMakefile in terms of cmState.

This commit is contained in:
Stephen Kelly authored and Brad King committed 2015-05-20 11:21:09 -04:00
1 parent 4080ca497e
commit 7601a7b12d
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ cmLocalGenerator::~cmLocalGenerator()
bool cmLocalGenerator::IsRootMakefile() const
{
return !this->GetParent();
return !this->StateSnapshot.GetParent().IsValid();
}
//----------------------------------------------------------------------------