summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsC.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsC.cxx')
-rw-r--r--Source/cmDependsC.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx
index 5e51ccb..94ef801 100644
--- a/Source/cmDependsC.cxx
+++ b/Source/cmDependsC.cxx
@@ -198,26 +198,12 @@ bool cmDependsC::CheckDependencies(std::istream& is)
dependee = dependee.substr(0, pos+1);
}
- // Convert dependee to a full path.
- if(!cmSystemTools::FileIsFullPath(dependee.c_str()))
- {
- dependee = cmSystemTools::CollapseFullPath(dependee.c_str(),
- m_Directory.c_str());
- }
-
// Strip whitespace from the depender.
if((pos = depender.find_last_not_of(" \t\r\n")) != std::string::npos)
{
depender = depender.substr(0, pos+1);
}
- // Convert depender to a full path.
- if(!cmSystemTools::FileIsFullPath(depender.c_str()))
- {
- depender = cmSystemTools::CollapseFullPath(depender.c_str(),
- m_Directory.c_str());
- }
-
// Dependencies must be regenerated if the dependee does not exist
// or if the depender exists and is older than the dependee.
int result = 0;