mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-24 15:38:54 -06:00
cmLocalGenerator: Implement IsRootMakefile in terms of cmState.
This commit is contained in:
@@ -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