From 102dd34bdc78f5e95eb416050831637cd4cde2a4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 22 Nov 2005 17:03:07 -0500 Subject: BUG: Do not expand escape sequences when re-expanding variables in include directories, link directories, and link libraries. --- Source/cmMakefile.cxx | 6 +++--- Source/cmTarget.cxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index dcab4cb..200533d 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1289,17 +1289,17 @@ void cmMakefile::ExpandVariables() for(std::vector::iterator d = m_IncludeDirectories.begin(); d != m_IncludeDirectories.end(); ++d) { - this->ExpandVariablesInString(*d); + this->ExpandVariablesInString(*d, true, true); } for(std::vector::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); } } diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index b16f80c..33eaa9c 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -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); } } -- cgit v0.12