X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meson.build;h=fc87e20672c2099a70c4e19809ed87b157d3ebef;hb=09fa5536e759792c80341305a536cd59aa801c6d;hp=4d846d29cebd28edf22d4b45556a29a1de03e8e1;hpb=69bd3ddac4b23d827c8e58b96201238f0114497b;p=src%2Fagl-compositor.git diff --git a/meson.build b/meson.build index 4d846d2..fc87e20 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('agl-compositor', 'c','cpp', - version: '0.0.21', + version: '0.0.22', default_options: [ 'warning_level=3', 'c_std=gnu99', @@ -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(