Browse Source

Merge topic 'vs-sdk-refs'

efd0c013 VS: Fix VS_SDK_REFERENCES when target is not a Windows 10 app

Acked-by: Kitware Robot <[email protected]>
Merge-request: !1166
Brad King 8 years ago
parent
commit
797196c8a7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Source/cmVisualStudio10TargetGenerator.cxx

+ 3 - 3
Source/cmVisualStudio10TargetGenerator.cxx

@@ -3698,10 +3698,10 @@ void cmVisualStudio10TargetGenerator::WriteSDKReferences()
         this->WriteSingleSDKReference("WindowsIoT", iotExtensionsVersion);
         this->WriteSingleSDKReference("WindowsIoT", iotExtensionsVersion);
       }
       }
     }
     }
+  }
 
 
-    if (hasWrittenItemGroup) {
-      this->WriteString("</ItemGroup>\n", 1);
-    }
+  if (hasWrittenItemGroup) {
+    this->WriteString("</ItemGroup>\n", 1);
   }
   }
 }
 }