diff options
Diffstat (limited to 'render/meson.build')
-rw-r--r-- | render/meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/render/meson.build b/render/meson.build index 4b90c229..ab66eab0 100644 --- a/render/meson.build +++ b/render/meson.build @@ -1,9 +1,10 @@ glgen = find_program('../glgen.sh') -glapi = custom_target('glapi', +glapi = custom_target( + 'glapi', input: 'glapi.txt', output: ['@BASENAME@.c', '@BASENAME@.h'], - command: [glgen, '@INPUT@', '@OUTPUT0@', '@OUTPUT1@'], + command: [glgen, '@INPUT@', '@OUTDIR@'], ) lib_wlr_render = static_library( @@ -19,8 +20,7 @@ lib_wlr_render = static_library( 'wlr_renderer.c', 'wlr_texture.c', ), - glapi[0], - glapi[1], + glapi, include_directories: wlr_inc, dependencies: [egl, glesv2, pixman, wayland_server], ) |