Expand var in srclist name too
This commit is contained in:
parent
340b1f1d8b
commit
3acc545b06
|
@ -84,7 +84,14 @@ bool cmAddLibraryCommand::InitialPass(std::vector<std::string> const& args)
|
|||
shared = 2;
|
||||
}
|
||||
}
|
||||
std::vector<std::string> srclists(s, args.end());
|
||||
|
||||
std::vector<std::string> srclists;
|
||||
while (s != args.end())
|
||||
{
|
||||
std::string copy = *s;
|
||||
m_Makefile->ExpandVariablesInString(copy);
|
||||
srclists.push_back(copy);
|
||||
}
|
||||
|
||||
m_Makefile->AddLibrary(libname.c_str(), shared, srclists);
|
||||
|
||||
|
|
Loading…
Reference in New Issue