From 7df455251b375adfb52da886f1f97339af675c8c Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 17 Jul 2001 15:41:04 -0400 Subject: BUG: Need to expand variables in search paths in case it hasn't been done yet by the makefile. --- Source/cmMakeDepend.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx index 9b181e9..5a18e07 100644 --- a/Source/cmMakeDepend.cxx +++ b/Source/cmMakeDepend.cxx @@ -95,7 +95,9 @@ void cmMakeDepend::SetMakefile(const cmMakefile* makefile) for(std::vector::const_iterator j = includes.begin(); j != includes.end(); ++j) { - this->AddSearchPath(j->c_str()); + std::string path = *j; + m_Makefile->ExpandVariablesInString(path); + this->AddSearchPath(path.c_str()); } } -- cgit v0.12