Skip to content

Android: Set CMAKE_TRY_COMPILE_PLATFORM_VARIABLES

These are the variables that cmake will pass onto itself when doing a try_compile, we need that because otherwise when trying to find iconv it will issue a try compile, won't pass CMAKE_ANDROID_API so it will default to 21 (instead eg the 28 we had given it) and the try_compile will fail because android libc only has iconv after API 28

Merge request reports