diff options
author | Brad King <brad.king@kitware.com> | 2007-03-14 20:29:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-03-14 20:29:10 (GMT) |
commit | 9da6f96d984d9e8350ef056cd429c4a113f97195 (patch) | |
tree | ceccabb1198d2257ac5b33493d4d2e06d5113903 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | b8bd0f80db6f86e0ce426305eb0ab06eb0b82e21 (diff) | |
download | CMake-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/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 365ce56..4193293 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -68,6 +68,10 @@ void cmLocalUnixMakefileGenerator3::Configure() // directory from the top output directory. this->HomeRelativeOutputPath = this->Convert(this->Makefile->GetStartOutputDirectory(), HOME_OUTPUT); + if(this->HomeRelativeOutputPath == ".") + { + this->HomeRelativeOutputPath = ""; + } if(!this->HomeRelativeOutputPath.empty()) { this->HomeRelativeOutputPath += "/"; |