The findOpenGL script still tried to find/require desktop GL libraries when requesting any GLES implementation. We now only search for GLES if it's requested, as mixing both really makes no sense.
Also added a check for Android in CMAKE_SYSTEM_NAME, forcibly enabling GLES3 if this is found. To not break Android builds in the future, I've also added an Actions build check which builds libprojectM via the NDK for Android, arm64-v8a and API level 33. The resulting artifacts should then be useable by any Android dev targeting the same API level.
The findOpenGL script still tried to find/require desktop GL libraries when requesting any GLES implementation. We now only search for GLES if it's requested, as mixing both really makes no sense.
Also added a check for Android in
CMAKE_SYSTEM_NAME
, forcibly enabling GLES3 if this is found. To not break Android builds in the future, I've also added an Actions build check which builds libprojectM via the NDK for Android, arm64-v8a and API level 33. The resulting artifacts should then be useable by any Android dev targeting the same API level.