summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-12-28 11:51:43 +0000
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-03-27 17:50:02 +0100
commit447504694c11ffd47aa84b5564294873579cb452 (patch)
treeb2df0bd56507757076bae9c474fe58c7bddabeeb
parent7ca339da20d9eb5508b8de3555a7b278eead3b0d (diff)
downloadefl-447504694c11ffd47aa84b5564294873579cb452.tar.gz
meson: only build wayland protocols when they are needed
-rw-r--r--meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 883dc5aca5..10cec22686 100644
--- a/meson.build
+++ b/meson.build
@@ -78,7 +78,10 @@ config_dir = [include_directories('.')]
eolian_include_directories = []
subdir('header_checks')
-subdir(join_paths('src', 'wayland_protocol'))
+
+if get_option('ecore_wl2') == true or get_option('ecore_buffer') == true
+ subdir(join_paths('src', 'wayland_protocol'))
+endif
subprojects = [