summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/meson.build
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2020-06-11 15:14:03 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2020-06-11 15:14:36 +0200
commit35ca2cbd0611be876feb812951b8764907f4e4fd (patch)
tree6b53116778269f48edc2a8084651aa015ff45ccc /src/modules/evas/engines/meson.build
parent6ff0241706ea1f823c626faced4e318c0b36e6c8 (diff)
modules: only build gl_drm evas engine when using es-egl
This module does not work with desktop opengl contexts, and needs EGL to work.
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/meson.build10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/evas/engines/meson.build b/src/modules/evas/engines/meson.build
index c7e4255d9c..b1c11369c9 100644
--- a/src/modules/evas/engines/meson.build
+++ b/src/modules/evas/engines/meson.build
@@ -16,10 +16,7 @@ endif
16have_gl_engine = false 16have_gl_engine = false
17 17
18if get_option('opengl') != 'none' 18if get_option('opengl') != 'none'
19 engines += [ 19 engines += [['gl_x11', ['x11']]]
20 ['gl_x11', ['x11']],
21 ['gl_drm', ['drm']]
22 ]
23 have_gl_engine = true 20 have_gl_engine = true
24endif 21endif
25 22
@@ -29,7 +26,10 @@ if get_option('opengl') == 'full'
29endif 26endif
30 27
31if get_option('opengl') == 'es-egl' 28if get_option('opengl') == 'es-egl'
32 engines += [['wayland_egl', ['wl']]] 29 engines += [
30 ['wayland_egl', ['wl']],
31 ['gl_drm', ['drm']]
32 ]
33 have_gl_engine = true 33 have_gl_engine = true
34endif 34endif
35 35