grpc-proxy: Extend AglShellSetSplit from gRPC proxy
[src/agl-compositor.git] / meson.build
index 4d846d2..fc87e20 100644 (file)
@@ -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(