QtAutogen: Remove repeated setters.

These methods are called already just before calling the static method.
This commit is contained in:
Stephen Kelly 2015-05-20 00:22:51 +02:00
parent 594dd9b36a
commit 58f41c789f
1 changed files with 0 additions and 3 deletions

View File

@ -1209,9 +1209,6 @@ static cmGlobalGenerator* CreateGlobalGenerator(cmake* cm,
cmGlobalGenerator* gg = new cmGlobalGenerator();
gg->SetCMakeInstance(cm);
cm->SetHomeOutputDirectory(targetDirectory);
cm->SetHomeDirectory(targetDirectory);
cmLocalGenerator* lg = gg->MakeLocalGenerator();
lg->GetMakefile()->SetCurrentBinaryDirectory(targetDirectory);
lg->GetMakefile()->SetCurrentSourceDirectory(targetDirectory);