X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meson.build;h=2f8b11f43ff43b316cf0d988b364ec48e638a035;hb=refs%2Fchanges%2F17%2F29317%2F3;hp=4d846d29cebd28edf22d4b45556a29a1de03e8e1;hpb=69bd3ddac4b23d827c8e58b96201238f0114497b;p=src%2Fagl-compositor.git diff --git a/meson.build b/meson.build index 4d846d2..2f8b11f 100644 --- a/meson.build +++ b/meson.build @@ -205,6 +205,13 @@ if deps_remoting.length() == depnames.length() message('Found remoting depends, enabling remoting') 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(