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:
parent
dbb5a7ee31
commit
2dfcf0ed07
|
@ -2133,4 +2133,9 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings()
|
|||
"</MinimumVisualStudioVersion>\n", 2);
|
||||
}
|
||||
}
|
||||
if (this->Platform == "ARM")
|
||||
{
|
||||
this->WriteString("<WindowsSDKDesktopARMSupport>true"
|
||||
"</WindowsSDKDesktopARMSupport>", 2);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue