diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 070a07a..31da09e 100644 --- a/meson.build +++ b/meson.build @@ -92,14 +92,14 @@ wayland_server = dependency('wayland-server', default_options: wayland_project_options, ) -wlroots_options = [ 'examples=false' ] +wlroots_options = [ 'examples=false', 'default_library=static' ] wlroots_version = ['>=0.17.0', '<0.18.0'] -subproject( +wlroots_is_sub = subproject( 'wlroots', default_options: wlroots_options, required: false, version: wlroots_version, -) +).found() wlroots = dependency('wlroots', version: wlroots_version, default_options: wlroots_options, @@ -126,6 +126,7 @@ drm = dependency('libdrm', 'tests=false', ], ) +xkbcommon = dependency('xkbcommon') pixman = dependency('pixman-1', version: '>=0.42.0', fallback: 'pixman', @@ -139,6 +140,7 @@ wlr_deps = [ wlroots, wayland_server, drm, + xkbcommon, pixman, math, rt, @@ -150,6 +152,8 @@ subdir('render') subdir('types') subdir('util') +subdir('include') + scenefx_inc = include_directories('include') lib_scenefx = library( |