diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 2e6c19bdec69fcbd5f8f64a6cbfcfe18b75f943c..21bb77453977359c447f9f9ddba84c1dbee03ba2 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;