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.
This commit is contained in:
Gilles Khouzam 2014-08-05 15:00:09 -04:00 committed by Brad King
parent dbb5a7ee31
commit 2dfcf0ed07
1 changed files with 5 additions and 0 deletions

View File

@ -2133,4 +2133,9 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings()
"</MinimumVisualStudioVersion>\n", 2);
}
}
if (this->Platform == "ARM")
{
this->WriteString("<WindowsSDKDesktopARMSupport>true"
"</WindowsSDKDesktopARMSupport>", 2);
}
}