mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 19:49:51 +00:00
BUG: Do not expand escape sequences when re-expanding variables in include directories, link directories, and link libraries.
This commit is contained in:
parent
130d469dd4
commit
102dd34bdc
@ -1289,17 +1289,17 @@ void cmMakefile::ExpandVariables()
|
||||
for(std::vector<std::string>::iterator d = m_IncludeDirectories.begin();
|
||||
d != m_IncludeDirectories.end(); ++d)
|
||||
{
|
||||
this->ExpandVariablesInString(*d);
|
||||
this->ExpandVariablesInString(*d, true, true);
|
||||
}
|
||||
for(std::vector<std::string>::iterator d = m_LinkDirectories.begin();
|
||||
d != m_LinkDirectories.end(); ++d)
|
||||
{
|
||||
this->ExpandVariablesInString(*d);
|
||||
this->ExpandVariablesInString(*d, true, true);
|
||||
}
|
||||
for(cmTarget::LinkLibraries::iterator l = m_LinkLibraries.begin();
|
||||
l != m_LinkLibraries.end(); ++l)
|
||||
{
|
||||
this->ExpandVariablesInString(l->first);
|
||||
this->ExpandVariablesInString(l->first, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -240,7 +240,7 @@ void cmTarget::GenerateSourceFilesFromSourceLists( cmMakefile &mf)
|
||||
LinkLibraries::iterator p = m_LinkLibraries.begin();
|
||||
for (;p != m_LinkLibraries.end(); ++p)
|
||||
{
|
||||
mf.ExpandVariablesInString(p->first);
|
||||
mf.ExpandVariablesInString(p->first, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user