diff options
author | Roc Ramon <rcrmn16@gmail.com> | 2017-08-21 13:08:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-23 19:43:46 (GMT) |
commit | efd0c013373f99e1e45310e24fced72d439d4adf (patch) | |
tree | f2ebd8ef37bf784f97f53294385128060eb98f53 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | fa664d9863c559f977c20f7b681ee141a1481e16 (diff) | |
download | CMake-efd0c013373f99e1e45310e24fced72d439d4adf.zip CMake-efd0c013373f99e1e45310e24fced72d439d4adf.tar.gz CMake-efd0c013373f99e1e45310e24fced72d439d4adf.tar.bz2 |
VS: Fix VS_SDK_REFERENCES when target is not a Windows 10 app
Close the `<ItemGroup>` element whenever it is opened.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 6 |
1 files 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("</ItemGroup>\n", 1); - } + if (hasWrittenItemGroup) { + this->WriteString("</ItemGroup>\n", 1); } } |