Skip to content

cmake: Allow ENABLE_OPENGL option to be overridden on Linux aarch64#749

Merged
OpenSauce04 merged 1 commit into
azahar-emu:masterfrom
OpenSauce04:linux-aarch64-opengl
Mar 20, 2025
Merged

cmake: Allow ENABLE_OPENGL option to be overridden on Linux aarch64#749
OpenSauce04 merged 1 commit into
azahar-emu:masterfrom
OpenSauce04:linux-aarch64-opengl

Conversation

@OpenSauce04
Copy link
Copy Markdown
Member

@OpenSauce04 OpenSauce04 commented Mar 20, 2025

Closes #741

This option was originally disabled due to some devices not supporting OpenGL, however it was implemented by hardcoding the option to be set to OFF via CMAKE_DEPENDENT_OPTION.

This change now allows the user to manually set ENABLE_OPENGL to ON in the CMake options, which was previously not possible.

Will self-review this because the change is tiny and it is very easy to verify that this code is working properly.

This option was originally disabled due to some devices not supporting OpenGL, however it was implemented by hardcoding the option to be set to OFF via CMAKE_DEPENDENT_OPTION. This change now allows the user to manually set ENABLE_OPENGL to ON in the CMake options, which was previously not possible.
@OpenSauce04 OpenSauce04 force-pushed the linux-aarch64-opengl branch from 703c9a7 to 20004cb Compare March 20, 2025 17:17
@OpenSauce04
Copy link
Copy Markdown
Member Author

Successfully tested locally on both aarch64 and x86-64 Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cannot enable OpenGL on (cmake oversight)

1 participant