mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 04:24:36 +08:00
VS: Fix VS_SDK_REFERENCES when target is not a Windows 10 app
Close the `<ItemGroup>` element whenever it is opened.
This commit is contained in:
@@ -3698,10 +3698,10 @@ void cmVisualStudio10TargetGenerator::WriteSDKReferences()
|
||||
this->WriteSingleSDKReference("WindowsIoT", iotExtensionsVersion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (hasWrittenItemGroup) {
|
||||
this->WriteString("</ItemGroup>\n", 1);
|
||||
}
|
||||
if (hasWrittenItemGroup) {
|
||||
this->WriteString("</ItemGroup>\n", 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user