From 4c9ae472ecb1a2b8e8ce0b115d0f54bf5f875fb1 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 21 Aug 2012 12:06:35 -0400 Subject: [PATCH] VS11: Rename 'Immersive' to 'WindowsAppContainer' (#12930) Since commit 9e01aefd (VS: Add support for WinRT project properties, 2012-02-03) CMake generates for VS 11 projects the 'Immersive' element for the VS_WINRT_EXTENSIONS target property. That was based on the VS 11 preview version. The final version renamed the element to 'WindowsAppContainer', so generate that instead. Suggested-by: Eugene Golushkov --- Source/cmVisualStudio10TargetGenerator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 6caaad1bc..6626e5bc1 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -413,7 +413,8 @@ void cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues() } if(this->Target->GetPropertyAsBool("VS_WINRT_EXTENSIONS")) { - this->WriteString("true\n", 2); + this->WriteString("true" + "\n", 2); } this->WriteString("\n", 1); }