diff options
Diffstat (limited to 'ui/meson.build')
-rw-r--r-- | ui/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/meson.build b/ui/meson.build index d846506..d81609f 100644 --- a/ui/meson.build +++ b/ui/meson.build @@ -65,10 +65,10 @@ if opengl.found() ui_modules += {'opengl' : opengl_ss} endif -if opengl.found() and gbm.found() +if opengl.found() egl_headless_ss = ss.source_set() - egl_headless_ss.add(when: [opengl, gbm, pixman], - if_true: files('egl-headless.c')) + egl_headless_ss.add(when: [opengl, pixman], + if_true: [files('egl-headless.c'), gbm]) ui_modules += {'egl-headless' : egl_headless_ss} endif |