BUG: Need to expand variables in search paths in case it hasn't been done yet by the makefile.
This commit is contained in:
parent
82c1916a6d
commit
7df455251b
|
@ -95,7 +95,9 @@ void cmMakeDepend::SetMakefile(const cmMakefile* makefile)
|
||||||
for(std::vector<std::string>::const_iterator j = includes.begin();
|
for(std::vector<std::string>::const_iterator j = includes.begin();
|
||||||
j != includes.end(); ++j)
|
j != includes.end(); ++j)
|
||||||
{
|
{
|
||||||
this->AddSearchPath(j->c_str());
|
std::string path = *j;
|
||||||
|
m_Makefile->ExpandVariablesInString(path);
|
||||||
|
this->AddSearchPath(path.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue