aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/meson.build24
1 files changed, 13 insertions, 11 deletions
diff --git a/render/meson.build b/render/meson.build
index a0a44ea2..388a6080 100644
--- a/render/meson.build
+++ b/render/meson.build
@@ -1,11 +1,13 @@
-wlr_files += files(
- 'egl.c',
- 'matrix.c',
- 'gles2/pixel_format.c',
- 'gles2/renderer.c',
- 'gles2/shaders.c',
- 'gles2/texture.c',
- 'gles2/util.c',
- 'wlr_renderer.c',
- 'wlr_texture.c',
-)
+lib_wlr_render = static_library('wlr_render', files(
+ 'egl.c',
+ 'matrix.c',
+ 'gles2/pixel_format.c',
+ 'gles2/renderer.c',
+ 'gles2/shaders.c',
+ 'gles2/texture.c',
+ 'gles2/util.c',
+ 'wlr_renderer.c',
+ 'wlr_texture.c',
+ ),
+ include_directories: wlr_inc,
+ dependencies: [glesv2, egl])