diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-27 20:38:45 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-28 05:50:57 (GMT) |
commit | 86f3cd0f7e0e0a0db210b5ed3f01766624dbc67f (patch) | |
tree | 8f448a072427456cac2cc254236ba0dc022f6442 /Source/cmLocalGenerator.cxx | |
parent | a48aebcb67a66bd2fee1318bb971cc5e3b016410 (diff) | |
download | CMake-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.cxx | 3 |
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() |