diff options
author | Rechi <Rechi@users.noreply.github.com> | 2020-01-23 00:51:48 +0300 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2020-01-23 00:51:48 +0300 |
commit | 3c761e1bda55a494782976fce4f045af1bf0b028 (patch) | |
tree | 33573428115b9ac7a7c4282e3864ca160864dd8e | |
parent | 5cd1ad50be78280472ba8c8f4f0f26189261683d (diff) |
[cmake] fix optional platform dependencies for X11 GLES
GLX and VDPAU are only compatible with GL
-rw-r--r-- | cmake/platform/linux/x11.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/platform/linux/x11.cmake b/cmake/platform/linux/x11.cmake index c661721b73..5d7f3d4039 100644 --- a/cmake/platform/linux/x11.cmake +++ b/cmake/platform/linux/x11.cmake @@ -1,10 +1,11 @@ set(PLATFORM_REQUIRED_DEPS EGL X XRandR LibDRM) -set(PLATFORM_OPTIONAL_DEPS VAAPI VDPAU GLX) +set(PLATFORM_OPTIONAL_DEPS VAAPI) set(X11_RENDER_SYSTEM "" CACHE STRING "Render system to use with X11: \"gl\" or \"gles\"") if(X11_RENDER_SYSTEM STREQUAL "gl") list(APPEND PLATFORM_REQUIRED_DEPS OpenGl) + list(APPEND PLATFORM_OPTIONAL_DEPS GLX VDPAU) set(APP_RENDER_SYSTEM gl) elseif(X11_RENDER_SYSTEM STREQUAL "gles") list(APPEND PLATFORM_REQUIRED_DEPS OpenGLES) |