summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-02-19 17:26:32 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-02-19 17:26:32 (GMT)
commit314f5f60a08cc2366a18126fdc69aa367a01b046 (patch)
tree1d180696dbb900105c19a28f43b6a1e229c095f1
parent83b5890a2f05c68eec6bb74f13244172a9358ce6 (diff)
downloadCMake-314f5f60a08cc2366a18126fdc69aa367a01b046.zip
CMake-314f5f60a08cc2366a18126fdc69aa367a01b046.tar.gz
CMake-314f5f60a08cc2366a18126fdc69aa367a01b046.tar.bz2
BUG: fix for spaces in path for nmake
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
-rw-r--r--Source/cmMakefileTargetGenerator.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 19fd75b..815fe29 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -827,7 +827,7 @@ cmLocalUnixMakefileGenerator3::GetRelativeTargetDirectory(cmTarget& target)
{
std::string dir = this->HomeRelativeOutputPath;
dir += this->GetTargetDirectory(target);
- return this->Convert(dir.c_str(),NONE,MAKEFILE);
+ return this->Convert(dir.c_str(),NONE,UNCHANGED);
}
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 98e4c82..6330124 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -1077,7 +1077,7 @@ void cmMakefileTargetGenerator::WriteTargetDriverRule(const char* main_output,
buildTargetRuleName += relink?"/preinstall":"/build";
buildTargetRuleName = this->Convert(buildTargetRuleName.c_str(),
cmLocalGenerator::HOME_OUTPUT,
- cmLocalGenerator::MAKEFILE);
+ cmLocalGenerator::UNCHANGED);
// Build the list of target outputs to drive.
std::vector<std::string> depends;