[cmake/windowing] fix dependencies X11/XRandR/OpenGLES #11805
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This change originates from another pull request https://github.com/xbmc/xbmc/pull/11772 and @FernetMenta 's advise. It relates to kodi linux build for X11 platform that only uses OpenGLES and not OpenGL.
Motivation and Context
Change is needed in order to fix building for kodi linux builds for X11 platform that only uses OpenGLES and not OpenGL. This is for instance the case with arm based linux systems that use the arm mali graphical processor (GPU), like the latest rockchip linux systems (rk3288 and rk3399).
How Has This Been Tested?
The change (just a working kodi build) has been tested on latest debian linux distribution (stretch) with X11 desktop and kernel (4.4) that is open sourced and provided by rockchip. It has been tested on firefly and miqi rk3288 devices.
Tests consisted of basic kodi browsing the menus, playing h264-videos and some youtube videos using the add-on.
Screenshots (if appropriate):
Types of change
Checklist: