BUG: fix for spaces in path for nmake
This commit is contained in:
parent
83b5890a2f
commit
314f5f60a0
|
@ -827,7 +827,7 @@ cmLocalUnixMakefileGenerator3::GetRelativeTargetDirectory(cmTarget& target)
|
||||||
{
|
{
|
||||||
std::string dir = this->HomeRelativeOutputPath;
|
std::string dir = this->HomeRelativeOutputPath;
|
||||||
dir += this->GetTargetDirectory(target);
|
dir += this->GetTargetDirectory(target);
|
||||||
return this->Convert(dir.c_str(),NONE,MAKEFILE);
|
return this->Convert(dir.c_str(),NONE,UNCHANGED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1077,7 +1077,7 @@ void cmMakefileTargetGenerator::WriteTargetDriverRule(const char* main_output,
|
||||||
buildTargetRuleName += relink?"/preinstall":"/build";
|
buildTargetRuleName += relink?"/preinstall":"/build";
|
||||||
buildTargetRuleName = this->Convert(buildTargetRuleName.c_str(),
|
buildTargetRuleName = this->Convert(buildTargetRuleName.c_str(),
|
||||||
cmLocalGenerator::HOME_OUTPUT,
|
cmLocalGenerator::HOME_OUTPUT,
|
||||||
cmLocalGenerator::MAKEFILE);
|
cmLocalGenerator::UNCHANGED);
|
||||||
|
|
||||||
// Build the list of target outputs to drive.
|
// Build the list of target outputs to drive.
|
||||||
std::vector<std::string> depends;
|
std::vector<std::string> depends;
|
||||||
|
|
Loading…
Reference in New Issue