parent
751f712e1a
commit
3b4436aa90
|
@ -83,6 +83,7 @@ std::string cmGlobalNinjaGenerator::EncodeLiteral(const std::string &lit)
|
||||||
{
|
{
|
||||||
std::string result = lit;
|
std::string result = lit;
|
||||||
cmSystemTools::ReplaceString(result, "$", "$$");
|
cmSystemTools::ReplaceString(result, "$", "$$");
|
||||||
|
cmSystemTools::ReplaceString(result, "\n", "$\n");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue