diff options
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 2bcad87..c258765 100644 --- a/meson.build +++ b/meson.build @@ -28,10 +28,11 @@ if system == 'linux' xkbcommon = dependency('xkbcommon', required: get_option('wayland')) has_wayland = wl_client.found() and wl_cursor.found() and xkbcommon.found() x11 = dependency('x11', required: get_option('x11')) + xi = dependency('xi', required: get_option('x11')) x11_xkb = dependency('xkbcommon', required: get_option('x11')) - has_x11 = x11.found() and x11_xkb.found() + has_x11 = x11.found() and xi.found() and x11_xkb.found() if has_x11 - deps += [x11, x11_xkb] + deps += [x11, xi, x11_xkb] endif threads = dependency('threads') m_dep = cc.find_library('m', required: false) @@ -106,4 +107,10 @@ executable( dependencies: deps, ) +tablet_example = executable( + 'yasl-tablet', + 'examples/tablet.c', + dependencies: yasl_dep, +) + subdir('tests') |
