VS/Android: Set API level explicitly during compiler identification

VS2022 defaults to API 31 in 64-bit builds.  This breaks if you combine
VS2022 with an older Android NDK.
This commit is contained in:
Michael Karcher
2023-04-21 18:00:35 +02:00
committed by Brad King
parent 5d5b6c741d
commit 850ee280e0
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -26,6 +26,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@id_platform@'" Label="Configuration">
<ConfigurationType>@id_config_type@</ConfigurationType>
@id_toolset@
@id_api_level@
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />