diff options
Diffstat (limited to 'cmake/platform/linux/wayland.cmake')
| -rw-r--r-- | cmake/platform/linux/wayland.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/platform/linux/wayland.cmake b/cmake/platform/linux/wayland.cmake index 97cff67..916b578 100644 --- a/cmake/platform/linux/wayland.cmake +++ b/cmake/platform/linux/wayland.cmake | |||
| @@ -1,13 +1,13 @@ | |||
| 1 | set(PLATFORM_REQUIRED_DEPS EGL WaylandProtocols>=1.7 Waylandpp>=0.2.2 LibDRM Xkbcommon>=0.4.1) | 1 | set(PLATFORM_REQUIRED_DEPS WaylandProtocols>=1.7 Waylandpp>=0.2.2 LibDRM Xkbcommon>=0.4.1) |
| 2 | set(PLATFORM_OPTIONAL_DEPS VAAPI) | 2 | set(PLATFORM_OPTIONAL_DEPS VAAPI) |
| 3 | 3 | ||
| 4 | set(WAYLAND_RENDER_SYSTEM "" CACHE STRING "Render system to use with Wayland: \"gl\" or \"gles\"") | 4 | set(WAYLAND_RENDER_SYSTEM "" CACHE STRING "Render system to use with Wayland: \"gl\" or \"gles\"") |
| 5 | 5 | ||
| 6 | if(WAYLAND_RENDER_SYSTEM STREQUAL "gl") | 6 | if(WAYLAND_RENDER_SYSTEM STREQUAL "gl") |
| 7 | list(APPEND PLATFORM_REQUIRED_DEPS OpenGl) | 7 | list(APPEND PLATFORM_REQUIRED_DEPS OpenGl EGL) |
| 8 | set(APP_RENDER_SYSTEM gl) | 8 | set(APP_RENDER_SYSTEM gl) |
| 9 | elseif(WAYLAND_RENDER_SYSTEM STREQUAL "gles") | 9 | elseif(WAYLAND_RENDER_SYSTEM STREQUAL "gles") |
| 10 | list(APPEND PLATFORM_REQUIRED_DEPS OpenGLES) | 10 | list(APPEND PLATFORM_REQUIRED_DEPS OpenGLES EGL) |
| 11 | set(APP_RENDER_SYSTEM gles) | 11 | set(APP_RENDER_SYSTEM gles) |
| 12 | else() | 12 | else() |
| 13 | message(SEND_ERROR "You need to decide whether you want to use GL- or GLES-based rendering in combination with the Wayland windowing system. Please set WAYLAND_RENDER_SYSTEM to either \"gl\" or \"gles\". For normal desktop systems, you will usually want to use \"gl\".") | 13 | message(SEND_ERROR "You need to decide whether you want to use GL- or GLES-based rendering in combination with the Wayland windowing system. Please set WAYLAND_RENDER_SYSTEM to either \"gl\" or \"gles\". For normal desktop systems, you will usually want to use \"gl\".") |
