cmGlobalGenerator: Base final target property computation on Makefiles.

This commit is contained in:
Stephen Kelly 2015-08-02 12:17:31 +02:00
parent f8be9ba9c2
commit 19b546ef76
1 changed files with 2 additions and 2 deletions

View File

@ -1482,9 +1482,9 @@ void cmGlobalGenerator::CreateQtAutoGeneratorsTargets(AutogensType &autogens)
void cmGlobalGenerator::FinalizeTargetCompileInfo()
{
// Construct per-target generator information.
for(unsigned int i=0; i < this->LocalGenerators.size(); ++i)
for(unsigned int i=0; i < this->Makefiles.size(); ++i)
{
cmMakefile *mf = this->LocalGenerators[i]->GetMakefile();
cmMakefile *mf = this->Makefiles[i];
const cmStringRange noconfig_compile_definitions =
mf->GetCompileDefinitionsEntries();