diff options
| author | Brad King <brad.king@kitware.com> | 2014-08-05 14:44:12 -0400 |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2014-08-12 10:08:37 -0400 |
| commit | dbb5a7ee315948b4f16e5c6a549db090e266e51d (patch) | |
| tree | d983c8dc7b31876eda7196dbd75f4bb422fcd388 /Modules/CompilerId | |
| parent | 5d3d9a22b28e99894dab2fe4fac0279fb422ace4 (diff) | |
| download | cmake-dbb5a7ee315948b4f16e5c6a549db090e266e51d.tar.gz | |
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')
| -rw-r--r-- | Modules/CompilerId/VS-10.vcxproj.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CompilerId/VS-10.vcxproj.in b/Modules/CompilerId/VS-10.vcxproj.in index bacbca4ea1..a17d03d0d2 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"> |
