summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 12:07:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-21 19:14:05 (GMT)
commit8bfaadfa394c9b462259ea13df6b2df7c4544ab4 (patch)
tree1a845ae755348b3fa2962758b05abf5570acccfc /Source/cmGlobalUnixMakefileGenerator3.cxx
parent217c243db04a21763848ac048edf153cd93bd883 (diff)
downloadCMake-8bfaadfa394c9b462259ea13df6b2df7c4544ab4.zip
CMake-8bfaadfa394c9b462259ea13df6b2df7c4544ab4.tar.gz
CMake-8bfaadfa394c9b462259ea13df6b2df7c4544ab4.tar.bz2
cmMakefile: Move IsRoot API from cmLocalGenerator.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index 4fe52dd..0f61225 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/Source/cmGlobalUnixMakefileGenerator3.cxx
@@ -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();