summaryrefslogtreecommitdiffstats
path: root/Source/cmMakeDepend.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-09-18 13:19:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2000-09-18 13:19:38 (GMT)
commit283d3a0b734750a3bddfda9569894639571cf567 (patch)
treeac2ab120894feb883aeb5dce12a3e1af911c9bc4 /Source/cmMakeDepend.cxx
parent38f5ab8527a20caa7b7a2b867a1596ac05321e6b (diff)
downloadCMake-283d3a0b734750a3bddfda9569894639571cf567.zip
CMake-283d3a0b734750a3bddfda9569894639571cf567.tar.gz
CMake-283d3a0b734750a3bddfda9569894639571cf567.tar.bz2
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 ea1e6b5..d684160 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());
}