summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmLocalGenerator.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 8a68ca6..bd64dc9 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1680,15 +1680,12 @@ std::string cmLocalGenerator::GetRealDependency(const char* inName,
// This is a full path. Return it as given.
return inName;
}
- else
- {
- // Treat the name as relative to the source directory in which it
- // was given.
- name = m_Makefile->GetCurrentDirectory();
- name += "/";
- name += inName;
- return name;
- }
+ // Treat the name as relative to the source directory in which it
+ // was given.
+ name = m_Makefile->GetCurrentDirectory();
+ name += "/";
+ name += inName;
+ return name;
}
//----------------------------------------------------------------------------