diff options
author | Robert Goulet <robert.goulet@autodesk.com> | 2015-01-29 18:38:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-29 19:30:29 (GMT) |
commit | 500794b0db3d7dfa121069f336b69923839bada1 (patch) | |
tree | 816bea6c9e91b0c2dbdf6fbc617ce5481b0f6eed /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 4c5574a15d6458673c410622e501ba682a783781 (diff) | |
download | CMake-500794b0db3d7dfa121069f336b69923839bada1.zip CMake-500794b0db3d7dfa121069f336b69923839bada1.tar.gz CMake-500794b0db3d7dfa121069f336b69923839bada1.tar.bz2 |
VS: Set default language in generated Windows Phone and Store projects
Otherwise building such projects gives:
warning APPX1901: The DefaultLanguage property is either missing from
the project file or does not have a value
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index d6b87b8..a286049 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2762,6 +2762,8 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings() this->WriteString("<ApplicationTypeRevision>", 2); (*this->BuildFileStream) << cmVS10EscapeXML(v) << "</ApplicationTypeRevision>\n"; + this->WriteString("<DefaultLanguage>en-US" + "</DefaultLanguage>\n", 2); if(v == "8.1") { // Visual Studio 12.0 is necessary for building 8.1 apps |