From 2dfcf0ed079119cb25f6520100083270873503f5 Mon Sep 17 00:00:00 2001 From: Gilles Khouzam Date: Tue, 5 Aug 2014 15:00:09 -0400 Subject: [PATCH] VS: Fix generation of desktop applications for ARM Add WindowsSDKDesktopARMSupport to the .vcxproj to avoid 'error MSB8022: Compiling Desktop applications for the ARM platform is not supported.' from VS. --- Source/cmVisualStudio10TargetGenerator.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 291827a4b..1e9e8e82c 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2133,4 +2133,9 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings() "\n", 2); } } + if (this->Platform == "ARM") + { + this->WriteString("true" + "", 2); + } }