fix for expaning libraries prior to generating dsp

This commit is contained in:
Ken Martin 2001-05-10 15:32:49 -04:00
parent 978407e042
commit a15ae83e95
1 changed files with 9 additions and 1 deletions

View File

@ -66,6 +66,13 @@ void cmTarget::GenerateSourceFilesFromSourceLists(const cmMakefile &mf)
m_SourceFiles.push_back(file);
}
}
// expand any link library variables whle we are at it
LinkLibraries::iterator p = m_LinkLibraries.begin();
for (;p != m_LinkLibraries.end(); ++p)
{
mf.ExpandVariablesInString(p->first);
}
}
void cmTarget::MergeLibraries(const LinkLibraries &ll)
@ -80,5 +87,6 @@ void cmTarget::MergeLibraries(const LinkLibraries &ll)
m_LinkLibraries.push_back(*p);
}
}
}