Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed CMake FindOpenGL script for GLES, fixed a few things and added a build check for Android #728

Merged

Conversation

kblaschke
Copy link
Member

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.

@kblaschke kblaschke force-pushed the fix-cmake-find-gles-script branch from 0bffa16 to 70132f1 Compare September 19, 2023 16:38
@kblaschke kblaschke merged commit 70132f1 into projectM-visualizer:master Sep 20, 2023
9 checks passed
@kblaschke kblaschke deleted the fix-cmake-find-gles-script branch September 20, 2023 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants