mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06: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:
committed by
Brad King
parent
dbb5a7ee31
commit
2dfcf0ed07
@@ -2133,4 +2133,9 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings()
|
|||||||
"</MinimumVisualStudioVersion>\n", 2);
|
"</MinimumVisualStudioVersion>\n", 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (this->Platform == "ARM")
|
||||||
|
{
|
||||||
|
this->WriteString("<WindowsSDKDesktopARMSupport>true"
|
||||||
|
"</WindowsSDKDesktopARMSupport>", 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user