summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-16 03:18:25 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-16 03:18:25 (GMT)
commitb659d161da3c488890e32fbb1acf1295186d3c4f (patch)
tree8040267cd45e39fcc0f70480eac8f5328c0e2c8d /Source/cmQtAutoGenerators.cxx
parent2e4ea0c055e01e10c8f459398f943b1b62c5c7bb (diff)
downloadCMake-b659d161da3c488890e32fbb1acf1295186d3c4f.zip
CMake-b659d161da3c488890e32fbb1acf1295186d3c4f.tar.gz
CMake-b659d161da3c488890e32fbb1acf1295186d3c4f.tar.bz2
cmGlobalGenerator: Add NVI wrapper to create local generator.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 457de11..983f234 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -1212,7 +1212,7 @@ static cmGlobalGenerator* CreateGlobalGenerator(cmake* cm,
cm->SetHomeOutputDirectory(targetDirectory);
cm->SetHomeDirectory(targetDirectory);
- cmLocalGenerator* lg = gg->CreateLocalGenerator();
+ cmLocalGenerator* lg = gg->MakeLocalGenerator();
lg->GetMakefile()->SetCurrentBinaryDirectory(targetDirectory);
lg->GetMakefile()->SetCurrentSourceDirectory(targetDirectory);
gg->SetCurrentLocalGenerator(lg);