summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-19 22:22:51 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-19 22:22:51 (GMT)
commit58f41c789ffd102cdf3c9c8e49a2fe3b5da21a0b (patch)
treef677fbcb1ec8b204904ec77d0dbea8bd9d813de6 /Source/cmQtAutoGenerators.cxx
parent594dd9b36a7f3ac37b56c89596ff38451570de3e (diff)
downloadCMake-58f41c789ffd102cdf3c9c8e49a2fe3b5da21a0b.zip
CMake-58f41c789ffd102cdf3c9c8e49a2fe3b5da21a0b.tar.gz
CMake-58f41c789ffd102cdf3c9c8e49a2fe3b5da21a0b.tar.bz2
QtAutogen: Remove repeated setters.
These methods are called already just before calling the static method.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 3e7989f..79e7f70 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -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);