X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meson.build;h=d10c33700f46f1ef5e1065c7565f63eaeb2b3e19;hb=7b0b61877b2d812c8befaa689d326190895edabd;hp=388f78545670f93a9cc7ca37d1179af9cabefbc6;hpb=2e91c40bde5253a30716092af31e4cf07febda44;p=src%2Fagl-compositor.git diff --git a/meson.build b/meson.build index 388f785..d10c337 100644 --- a/meson.build +++ b/meson.build @@ -237,6 +237,13 @@ if dep_libsmack.found() deps_libweston += dep_libsmack endif +if get_option('xwayland') + config_h.set('BUILD_XWAYLAND', '1') + + srcs_agl_compositor += 'src/xwayland.c' + config_h.set_quoted('XSERVER_PATH', get_option('xwayland-path')) +endif + dir_module_agl_compositor = join_paths(join_paths(prefix_path, get_option('libdir')), 'agl-compositor') libexec_compositor = shared_library(