summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-05-24 13:39:02 -0500
committerFederico Mena Quintero <federico@gnome.org>2022-05-24 13:39:02 -0500
commit8b8c0d2eec84ba6bdae952978f9c566057db48dd (patch)
treed66c5c38d7acb813b5486d2901035795a0d59da4 /meson.build
parentf3d115101ec6fbd67876797d5ac5a627df448ebc (diff)
downloadat-spi2-core-8b8c0d2eec84ba6bdae952978f9c566057db48dd.tar.gz
Add the disable_p2p meson option from at-spi2-atk
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 053bf974..88776da0 100644
--- a/meson.build
+++ b/meson.build
@@ -199,6 +199,12 @@ configure_file(output: 'config.h', configuration: at_spi_conf)
pkgconfig = import('pkgconfig')
gnome = import('gnome')
+if get_option('disable_p2p')
+ p2p_cflags = [ '-DDISABLE_P2P' ]
+else
+ p2p_cflags = []
+endif
+
subdir('dbind')
subdir('atspi')
subdir('bus')