mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
QtAutogen: Get the global generator from the Makefile.
This commit is contained in:
1 parent
61c0113c13
commit
b3e2e332eb
1 file changed
+1
-2
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user