diff options
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index fa9120e..50906b8 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1454,12 +1454,12 @@ void cmGlobalGenerator::CreateQtAutoGeneratorsTargets(AutogensType &autogens) for(std::vector<std::string>::iterator ti = targetNames.begin(); ti != targetNames.end(); ++ti) { - cmTarget& target = *this->LocalGenerators[i] + cmTarget* target = this->LocalGenerators[i] ->GetMakefile()->FindTarget(*ti, true); cmQtAutoGenerators::InitializeAutogenTarget( - this->LocalGenerators[i], &target); + this->LocalGenerators[i], target); cmQtAutoGenerators autogen; - autogens.push_back(std::make_pair(autogen, &target)); + autogens.push_back(std::make_pair(autogen, target)); } } #else |