mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-05 11:35:31 +00:00
The find script changes will be proposed upstream for patching the built-in CMake module. Until that's merged, we use the local copy if GLES3 is requested. Enabling GLES3 on desktop Linux should work out-of-the box now provided the required libs and headers are there. For example, Mesa's GLES implementation will work.
GLES3 Find Script
The OpenGL CMake find script in this directory contains additional code to find GLES versions 1 to 3. It was taken from CMake 3.22 and patched accordingly. A merge request is underway upstream, so ideally, this will be part of CMake 3.23+.
In the meantime, we'll use this script as a local copy if GLES3 support is requested. Will add a version check once it's in upstream CMake so this file will only be used if the CMake version used to build projectM is too low.