bu5hm4n pushed a commit to branch feature/meson.

http://git.enlightenment.org/core/efl.git/commit/?id=447504694c11ffd47aa84b5564294873579cb452

commit 447504694c11ffd47aa84b5564294873579cb452
Author: Marcel Hollerbach <[email protected]>
Date:   Thu Dec 28 11:51:43 2017 +0000

    meson: only build wayland protocols when they are needed
---
 meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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 = [

-- 


Reply via email to