summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 12:59:22 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-21 19:14:08 (GMT)
commitb3e2e332eb9c2a7d73ec872664cee896248c6c38 (patch)
tree9c4d271dd104d4174c726f49533d5d3dea6b531d /Source/cmQtAutoGenerators.cxx
parent61c0113c13fe4a65c394e56cc0354db0b80d9c4c (diff)
downloadCMake-b3e2e332eb9c2a7d73ec872664cee896248c6c38.zip
CMake-b3e2e332eb9c2a7d73ec872664cee896248c6c38.tar.gz
CMake-b3e2e332eb9c2a7d73ec872664cee896248c6c38.tar.bz2
QtAutogen: Get the global generator from the Makefile.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index f472ed8..53fea83 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -368,8 +368,7 @@ bool cmQtAutoGenerators::InitializeAutogenTarget(cmTarget* target)
#if defined(_WIN32) && !defined(__CYGWIN__)
bool usePRE_BUILD = false;
- cmLocalGenerator* localGen = makefile->GetLocalGenerator();
- cmGlobalGenerator* gg = localGen->GetGlobalGenerator();
+ cmGlobalGenerator* gg = makefile->GetGlobalGenerator();
if(gg->GetName().find("Visual Studio") != std::string::npos)
{
cmGlobalVisualStudioGenerator* vsgg =