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>
dev
Pekka Paalanen 6 years ago committed by Daniel Stone
parent 6bc50b12f8
commit 644eb64a5d
  1. 14
      tests/meson.build

@ -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…
Cancel
Save