mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
BUG: use windows paths for utility depends
This commit is contained in:
parent
231c9dad5a
commit
1fc3bb4377
@ -810,7 +810,8 @@ void cmUnixMakefileGenerator::OutputUtilityRule(std::ostream& fout,
|
||||
}
|
||||
std::string comment = "Rule to build Utility ";
|
||||
comment += name;
|
||||
std::string depends;
|
||||
std::string depends;
|
||||
std::string replaceVars;
|
||||
const std::vector<cmCustomCommand> &ccs = t.GetCustomCommands();
|
||||
for(std::vector<cmCustomCommand>::const_iterator i = ccs.begin();
|
||||
i != ccs.end(); ++i)
|
||||
@ -820,7 +821,9 @@ void cmUnixMakefileGenerator::OutputUtilityRule(std::ostream& fout,
|
||||
d != dep.end(); ++d)
|
||||
{
|
||||
depends += " \\\n";
|
||||
depends += *d;
|
||||
replaceVars = *d;
|
||||
m_Makefile->ExpandVariablesInString(replaceVars);
|
||||
depends += this->ConvertToOutputPath(replaceVars.c_str());
|
||||
}
|
||||
}
|
||||
this->OutputMakeRule(fout,
|
||||
|
Loading…
Reference in New Issue
Block a user