diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-06 12:59:22 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-21 19:14:08 (GMT) |
commit | b3e2e332eb9c2a7d73ec872664cee896248c6c38 (patch) | |
tree | 9c4d271dd104d4174c726f49533d5d3dea6b531d /Source | |
parent | 61c0113c13fe4a65c394e56cc0354db0b80d9c4c (diff) | |
download | CMake-b3e2e332eb9c2a7d73ec872664cee896248c6c38.zip CMake-b3e2e332eb9c2a7d73ec872664cee896248c6c38.tar.gz CMake-b3e2e332eb9c2a7d73ec872664cee896248c6c38.tar.bz2 |
QtAutogen: Get the global generator from the Makefile.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 3 |
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 = |