summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-23 18:38:47 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-23 18:38:47 (GMT)
commit2cb165e8c0943baa8bc05e97ef89b5e0b0261297 (patch)
tree3f23e2fb67ec25aaeae4a25ebe722119a8ef6092
parent6cbad490c2fdbd9bdc67b406b9f2dcdc21e08ddb (diff)
downloadCMake-2cb165e8c0943baa8bc05e97ef89b5e0b0261297.zip
CMake-2cb165e8c0943baa8bc05e97ef89b5e0b0261297.tar.gz
CMake-2cb165e8c0943baa8bc05e97ef89b5e0b0261297.tar.bz2
VS: Fix .vcxproj indentation
In commit v3.8.0-rc1~87^2~1 (VS: added support for C#, 2017-01-09) we removed what looked like a no-op streaming operation but in fact it is responsible for applying indentation. Restore the line.
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 2e6c19b..21bb774 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -130,6 +130,7 @@ void cmVisualStudio10TargetGenerator::WritePlatformConfigTag(
}
stream->fill(' ');
stream->width(indentLevel * 2);
+ (*stream) << ""; // applies indentation
(*stream) << "<" << tag << " Condition=\"";
(*stream) << "'$(Configuration)|$(Platform)'=='";
(*stream) << config << "|" << this->Platform;