diff options
author | Lukas Rusak <lorusak@gmail.com> | 2020-10-12 09:18:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 09:18:05 -0700 |
commit | e0ccc4faa4988f921761953aeefcf39bf3dacd19 (patch) | |
tree | 134ef736de7f8fde17034efbcc0d8c4ca09a7b0a /cmake | |
parent | b0dfc080b153a30f9af7e2d45abf230c30ead201 (diff) | |
parent | b88b51ca742e63f39de60b29c36573eca916241b (diff) |
Merge pull request #18493 from lrusak/cmake-fixes
[cmake] fixes for when components may not be available
Diffstat (limited to '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 97cff67887..916b578128 100644 --- a/cmake/platform/linux/wayland.cmake +++ b/cmake/platform/linux/wayland.cmake @@ -1,13 +1,13 @@ -set(PLATFORM_REQUIRED_DEPS EGL WaylandProtocols>=1.7 Waylandpp>=0.2.2 LibDRM Xkbcommon>=0.4.1) +set(PLATFORM_REQUIRED_DEPS WaylandProtocols>=1.7 Waylandpp>=0.2.2 LibDRM Xkbcommon>=0.4.1) set(PLATFORM_OPTIONAL_DEPS VAAPI) set(WAYLAND_RENDER_SYSTEM "" CACHE STRING "Render system to use with Wayland: \"gl\" or \"gles\"") if(WAYLAND_RENDER_SYSTEM STREQUAL "gl") - list(APPEND PLATFORM_REQUIRED_DEPS OpenGl) + list(APPEND PLATFORM_REQUIRED_DEPS OpenGl EGL) set(APP_RENDER_SYSTEM gl) elseif(WAYLAND_RENDER_SYSTEM STREQUAL "gles") - list(APPEND PLATFORM_REQUIRED_DEPS OpenGLES) + list(APPEND PLATFORM_REQUIRED_DEPS OpenGLES EGL) set(APP_RENDER_SYSTEM gles) else() 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\".") |