summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-09 14:12:12 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-09 14:12:12 (GMT)
commit776929b3c46ef593fc70cf792e0f4e99d6bc88b9 (patch)
treefeb3e3ecc89e29ea6a1880dce5d044dec9cbcbaf /Source/cmVisualStudio10TargetGenerator.cxx
parent22d0a83a4cc2188119e008ed346a10f7b0b32f8e (diff)
downloadCMake-776929b3c46ef593fc70cf792e0f4e99d6bc88b9.zip
CMake-776929b3c46ef593fc70cf792e0f4e99d6bc88b9.tar.gz
CMake-776929b3c46ef593fc70cf792e0f4e99d6bc88b9.tar.bz2
VS: Fix .vcxproj ProjectGuid element case
The `.vcxproj` file format expects `ProjectGuid`, not `ProjectGUID`. The latter is expected by `.vcproj` files from VS 2008, so this was likely a typo when the VS 2010 generator was first introduced. Fixes: #11968
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index c81ba7a..4fcf5dc 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -297,8 +297,8 @@ void cmVisualStudio10TargetGenerator::Generate()
this->WriteProjectConfigurations();
}
this->WriteString("<PropertyGroup Label=\"Globals\">\n", 1);
- this->WriteString("<ProjectGUID>", 2);
- (*this->BuildFileStream) << "{" << this->GUID << "}</ProjectGUID>\n";
+ this->WriteString("<ProjectGuid>", 2);
+ (*this->BuildFileStream) << "{" << this->GUID << "}</ProjectGuid>\n";
if (this->MSTools &&
this->GeneratorTarget->GetType() <= cmStateEnums::GLOBAL_TARGET) {