Commit ed77c5c5 authored by Brad King's avatar Brad King
Browse files

cmQtAutoGeneratorInitializer: Remove unused local variable

parent b398e716
...@@ -790,8 +790,6 @@ void cmQtAutoGeneratorInitializer::InitializeAutogenTarget( ...@@ -790,8 +790,6 @@ void cmQtAutoGeneratorInitializer::InitializeAutogenTarget(
bool usePRE_BUILD = false; bool usePRE_BUILD = false;
cmGlobalGenerator* gg = lg->GetGlobalGenerator(); cmGlobalGenerator* gg = lg->GetGlobalGenerator();
if (gg->GetName().find("Visual Studio") != std::string::npos) { if (gg->GetName().find("Visual Studio") != std::string::npos) {
cmGlobalVisualStudioGenerator* vsgg =
static_cast<cmGlobalVisualStudioGenerator*>(gg);
// Under VS use a PRE_BUILD event instead of a separate target to // Under VS use a PRE_BUILD event instead of a separate target to
// reduce the number of targets loaded into the IDE. // reduce the number of targets loaded into the IDE.
// This also works around a VS 11 bug that may skip updating the target: // This also works around a VS 11 bug that may skip updating the target:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment