diff options
author | Brad King <brad.king@kitware.com> | 2001-07-17 15:41:04 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-07-17 15:41:04 -0400 |
commit | 7df455251b375adfb52da886f1f97339af675c8c (patch) | |
tree | ffb9cfbe3b05e3cec176ba02294461a3410ad0bc /Source/cmMakeDepend.cxx | |
parent | 82c1916a6d1c5f01bece5d773b9739b5d546a594 (diff) | |
download | cmake-7df455251b375adfb52da886f1f97339af675c8c.tar.gz |
BUG: Need to expand variables in search paths in case it hasn't been done yet by the makefile.
Diffstat (limited to 'Source/cmMakeDepend.cxx')
-rw-r--r-- | Source/cmMakeDepend.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx index 9b181e9581..5a18e072fe 100644 --- a/Source/cmMakeDepend.cxx +++ b/Source/cmMakeDepend.cxx @@ -95,7 +95,9 @@ void cmMakeDepend::SetMakefile(const cmMakefile* makefile) for(std::vector<std::string>::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()); } } |