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

Fix: opengles cmake check #458

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

Archez
Copy link
Contributor

@Archez Archez commented Mar 5, 2024

In the cmake list option(USE_OPENGLES "Enable GLES3" OFF) is used to define and default the value of USE_OPENGLES in the cmake lists.

Then later a check for if(DEFINED USE_OPENGLES) was being used. This always evaluates to true because the value is defined even if its "OFF", which was leading to opengles being used for all linux platforms.

This PR fixes that by actually checking the value of the variable.

Copy link
Collaborator

@briaguya-ai briaguya-ai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@briaguya-ai briaguya-ai merged commit f0f91b4 into Kenix3:main Mar 5, 2024
4 checks passed
@Archez Archez deleted the fix-opengles-check branch March 5, 2024 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants