mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-01 19:52:53 +00:00
tests: build setbacklight
Was missed in the Meson migration. This is built only if DRM-backend is built, because it exercises a sub-feature of the DRM-backend. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
6bc50b12f8
commit
644eb64a5d
|
@ -382,3 +382,17 @@ foreach t : tests_weston_plugin
|
|||
test(t.get(0), exe_weston, env: env_test_weston, args: args_t)
|
||||
endif
|
||||
endforeach
|
||||
|
||||
if get_option('backend-drm')
|
||||
executable(
|
||||
'setbacklight',
|
||||
'setbacklight.c',
|
||||
dependencies: [
|
||||
dep_backlight,
|
||||
dep_libdrm,
|
||||
dependency('libudev')
|
||||
],
|
||||
include_directories: include_directories('..'),
|
||||
install: false
|
||||
)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue