summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-06 14:43:27 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-06 14:43:27 (GMT)
commit898d21ebe65efeb5787046bd67768d51d602615e (patch)
tree9161127ac8005e228a86c4ec2c469269d506e04d /Source
parentef10c9a1990f8f1bf7b2217294f214f2d14355fd (diff)
parent0bf4418017d7d6f653a8e3192a8f628a35587a04 (diff)
downloadCMake-898d21ebe65efeb5787046bd67768d51d602615e.zip
CMake-898d21ebe65efeb5787046bd67768d51d602615e.tar.gz
CMake-898d21ebe65efeb5787046bd67768d51d602615e.tar.bz2
Merge branch 'vs-explicit-newline' into release-3.14
Merge-request: !3065
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 8e08417..7736e59 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -35,6 +35,7 @@ static std::string cmVS10EscapeAttr(std::string arg)
cmSystemTools::ReplaceString(arg, "<", "&lt;");
cmSystemTools::ReplaceString(arg, ">", "&gt;");
cmSystemTools::ReplaceString(arg, "\"", "&quot;");
+ cmSystemTools::ReplaceString(arg, "\n", "&#10;");
return arg;
}