mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-12 23:43:59 +03:00
cmLocalGenerator: Implement IsRootMakefile in terms of cmState.
This commit is contained in:
1 parent
4080ca497e
commit
7601a7b12d
1 file changed
+1
-1
@@ -76,7 +76,7 @@ cmLocalGenerator::~cmLocalGenerator()
|
||||
|
||||
bool cmLocalGenerator::IsRootMakefile() const
|
||||
{
|
||||
return !this->GetParent();
|
||||
return !this->StateSnapshot.GetParent().IsValid();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user