summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-14 20:29:10 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-14 20:29:10 (GMT)
commit9da6f96d984d9e8350ef056cd429c4a113f97195 (patch)
treececcabb1198d2257ac5b33493d4d2e06d5113903 /Source/cmLocalVisualStudio7Generator.cxx
parentb8bd0f80db6f86e0ce426305eb0ab06eb0b82e21 (diff)
downloadCMake-9da6f96d984d9e8350ef056cd429c4a113f97195.zip
CMake-9da6f96d984d9e8350ef056cd429c4a113f97195.tar.gz
CMake-9da6f96d984d9e8350ef056cd429c4a113f97195.tar.bz2
BUG: Reverting previous changes related to using an empty string for a relative path to the current directory. Too many places want the . version. Instead we can just convert the . to an empty string in the one place that motiviated the original change.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 167e98f..100d791 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -963,10 +963,6 @@ cmLocalVisualStudio7Generator
if(cmSystemTools::FileIsFullPath(dir.c_str()))
{
std::string rel = this->Convert(dir.c_str(), START_OUTPUT, UNCHANGED);
- if(rel.empty())
- {
- rel = ".";
- }
if(rel.size() < dir.size())
{
dir = rel;