summaryrefslogtreecommitdiff
path: root/Source/cmMakeDepend.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-09-18 09:19:38 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2000-09-18 09:19:38 -0400
commit283d3a0b734750a3bddfda9569894639571cf567 (patch)
treeac2ab120894feb883aeb5dce12a3e1af911c9bc4 /Source/cmMakeDepend.cxx
parent38f5ab8527a20caa7b7a2b867a1596ac05321e6b (diff)
downloadcmake-283d3a0b734750a3bddfda9569894639571cf567.tar.gz
ENH: added a config setup file for CMakeSetup. Cleaned up the names of the source and binary directories
Diffstat (limited to 'Source/cmMakeDepend.cxx')
-rw-r--r--Source/cmMakeDepend.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx
index ea1e6b5ad3..d6841606a5 100644
--- a/Source/cmMakeDepend.cxx
+++ b/Source/cmMakeDepend.cxx
@@ -48,9 +48,9 @@ void cmMakeDepend::SetMakefile(cmMakefile* makefile)
std::vector<std::string>::iterator j;
for(j = includes.begin(); j != includes.end(); ++j)
{
- cmSystemTools::ReplaceString(*j, "${CMAKE_CONFIG_DIR}",
+ cmSystemTools::ReplaceString(*j, "${CMAKE_BINARY_DIR}",
m_Makefile->GetOutputHomeDirectory() );
- cmSystemTools::ReplaceString(*j, "${srcdir}",
+ cmSystemTools::ReplaceString(*j, "${CMAKE_SOURCE_ROOT}",
m_Makefile->GetHomeDirectory() );
this->AddSearchPath(j->c_str());
}