diff options
author | Brad King <brad.king@kitware.com> | 2017-04-20 14:31:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-20 14:31:14 (GMT) |
commit | 59224c39895dac08f73bd4e94df026b6cc1ad793 (patch) | |
tree | 53c449e5f456f4f2e3e9e8ae5bbdd3267f0c262c /Source | |
parent | b99fbf3b16449a6027e90ed7f01f240761157332 (diff) | |
parent | fd7e8f339a766b1bd4b4eca3fc96e4aac8cfb218 (diff) | |
download | CMake-59224c39895dac08f73bd4e94df026b6cc1ad793.zip CMake-59224c39895dac08f73bd4e94df026b6cc1ad793.tar.gz CMake-59224c39895dac08f73bd4e94df026b6cc1ad793.tar.bz2 |
Merge branch 'fix-vs2017-guid-braces' into release
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 902fe03..cb6afe1 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -3194,13 +3194,8 @@ void cmVisualStudio10TargetGenerator::WriteProjectReferences() this->ConvertToWindowsSlash(path); (*this->BuildFileStream) << cmVS10EscapeXML(path) << "\">\n"; this->WriteString("<Project>", 3); - if (csproj == this->ProjectType) { - (*this->BuildFileStream) << "{"; - } - (*this->BuildFileStream) << this->GlobalGenerator->GetGUID(name.c_str()); - if (csproj == this->ProjectType) { - (*this->BuildFileStream) << "}"; - } + (*this->BuildFileStream) + << "{" << this->GlobalGenerator->GetGUID(name.c_str()) << "}"; (*this->BuildFileStream) << "</Project>\n"; this->WriteString("<Name>", 3); (*this->BuildFileStream) << name << "</Name>\n"; |