mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
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:
committed by
Brad King
parent
5d5b6c741d
commit
850ee280e0
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user