mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03:00
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:
1 parent
dbb5a7ee31
commit
2dfcf0ed07
1 file changed
+5
@@ -2133,4 +2133,9 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings()
|
||||
"</MinimumVisualStudioVersion>\n", 2);
|
||||
}
|
||||
}
|
||||
if (this->Platform == "ARM")
|
||||
{
|
||||
this->WriteString("<WindowsSDKDesktopARMSupport>true"
|
||||
"</WindowsSDKDesktopARMSupport>", 2);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user