mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 09:20:08 +01: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
1 changed files with 14 additions and 0 deletions
|
|
@ -382,3 +382,17 @@ foreach t : tests_weston_plugin
|
||||||
test(t.get(0), exe_weston, env: env_test_weston, args: args_t)
|
test(t.get(0), exe_weston, env: env_test_weston, args: args_t)
|
||||||
endif
|
endif
|
||||||
endforeach
|
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…
Add table
Reference in a new issue