From efd0c013373f99e1e45310e24fced72d439d4adf Mon Sep 17 00:00:00 2001 From: Roc Ramon Date: Mon, 21 Aug 2017 09:08:37 -0400 Subject: VS: Fix VS_SDK_REFERENCES when target is not a Windows 10 app Close the `` element whenever it is opened. --- Source/cmVisualStudio10TargetGenerator.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index e1a0c83..35b7350 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -3698,10 +3698,10 @@ void cmVisualStudio10TargetGenerator::WriteSDKReferences() this->WriteSingleSDKReference("WindowsIoT", iotExtensionsVersion); } } + } - if (hasWrittenItemGroup) { - this->WriteString("\n", 1); - } + if (hasWrittenItemGroup) { + this->WriteString("\n", 1); } } -- cgit v0.12