summaryrefslogtreecommitdiffstats
path: root/Modules/CompilerId/VS-10.vcxproj.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-08-05 18:44:12 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-12 14:08:37 (GMT)
commitdbb5a7ee315948b4f16e5c6a549db090e266e51d (patch)
treed983c8dc7b31876eda7196dbd75f4bb422fcd388 /Modules/CompilerId/VS-10.vcxproj.in
parent5d3d9a22b28e99894dab2fe4fac0279fb422ace4 (diff)
downloadCMake-dbb5a7ee315948b4f16e5c6a549db090e266e51d.zip
CMake-dbb5a7ee315948b4f16e5c6a549db090e266e51d.tar.gz
CMake-dbb5a7ee315948b4f16e5c6a549db090e266e51d.tar.bz2
CMakeDetermineCompilerId: Fix detection for VS ARM platform
Add WindowsSDKDesktopARMSupport to the compiler id .vcxproj to avoid 'error MSB8022: Compiling Desktop applications for the ARM platform is not supported.' from VS. Inspired-by: Minmin Gong <minmin.gong@gmail.com> Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
Diffstat (limited to 'Modules/CompilerId/VS-10.vcxproj.in')
-rw-r--r--Modules/CompilerId/VS-10.vcxproj.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CompilerId/VS-10.vcxproj.in b/Modules/CompilerId/VS-10.vcxproj.in
index bacbca4..a17d03d 100644
--- a/Modules/CompilerId/VS-10.vcxproj.in
+++ b/Modules/CompilerId/VS-10.vcxproj.in
@@ -12,6 +12,7 @@
<Keyword>Win32Proj</Keyword>
@id_system@
@id_system_version@
+ @id_WindowsSDKDesktopARMSupport@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@id_platform@'" Label="Configuration">