|
|
@@ -529,7 +529,7 @@ cmGlobalUnixMakefileGenerator3
|
|
|
cmLocalUnixMakefileGenerator3* lg)
|
|
|
{
|
|
|
// Only subdirectories need these rules.
|
|
|
- if(lg->IsRootMakefile())
|
|
|
+ if(lg->GetMakefile()->IsRootMakefile())
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
|
@@ -1034,7 +1034,7 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule
|
|
|
static_cast<cmLocalUnixMakefileGenerator3 *>(this->LocalGenerators[i]);
|
|
|
// for the passed in makefile or if this is the top Makefile wripte out
|
|
|
// the targets
|
|
|
- if (lg2 == lg || lg->IsRootMakefile())
|
|
|
+ if (lg2 == lg || lg->GetMakefile()->IsRootMakefile())
|
|
|
{
|
|
|
// for each target Generate the rule files for each target.
|
|
|
cmTargets& targets = lg2->GetMakefile()->GetTargets();
|