summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-27 20:38:45 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-28 05:50:57 (GMT)
commit86f3cd0f7e0e0a0db210b5ed3f01766624dbc67f (patch)
tree8f448a072427456cac2cc254236ba0dc022f6442 /Source/cmLocalGenerator.cxx
parenta48aebcb67a66bd2fee1318bb971cc5e3b016410 (diff)
downloadCMake-86f3cd0f7e0e0a0db210b5ed3f01766624dbc67f.zip
CMake-86f3cd0f7e0e0a0db210b5ed3f01766624dbc67f.tar.gz
CMake-86f3cd0f7e0e0a0db210b5ed3f01766624dbc67f.tar.bz2
cmMakefile: Require the localGenerator in the constructor.
Move the contents of cmMakeile::SetLocalGenerator to the Initialize method.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 6d17171..6b705e8 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -253,8 +253,7 @@ void cmLocalGenerator::SetupPathConversions()
void cmLocalGenerator::SetGlobalGenerator(cmGlobalGenerator *gg)
{
this->GlobalGenerator = gg;
- this->Makefile = new cmMakefile;
- this->Makefile->SetLocalGenerator(this);
+ this->Makefile = new cmMakefile(this);
}
void cmLocalGenerator::ConfigureFinalPass()