QtAutogen: Get the global generator from the Makefile.
This commit is contained in:
parent
61c0113c13
commit
b3e2e332eb
|
@ -368,8 +368,7 @@ bool cmQtAutoGenerators::InitializeAutogenTarget(cmTarget* target)
|
||||||
|
|
||||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
bool usePRE_BUILD = false;
|
bool usePRE_BUILD = false;
|
||||||
cmLocalGenerator* localGen = makefile->GetLocalGenerator();
|
cmGlobalGenerator* gg = makefile->GetGlobalGenerator();
|
||||||
cmGlobalGenerator* gg = localGen->GetGlobalGenerator();
|
|
||||||
if(gg->GetName().find("Visual Studio") != std::string::npos)
|
if(gg->GetName().find("Visual Studio") != std::string::npos)
|
||||||
{
|
{
|
||||||
cmGlobalVisualStudioGenerator* vsgg =
|
cmGlobalVisualStudioGenerator* vsgg =
|
||||||
|
|
Loading…
Reference in New Issue