bu5hm4n pushed a commit to branch feature/meson.

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

commit ec7491f6b9cd51ce53acadb66f7354016970e254
Author: Marcel Hollerbach <[email protected]>
Date:   Wed Mar 28 10:56:44 2018 +0100

    meson: ecore_imf support not building ecore_x
---
 src/modules/ecore_imf/meson.build | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/modules/ecore_imf/meson.build 
b/src/modules/ecore_imf/meson.build
index 1c9252ece1..1dd4299188 100644
--- a/src/modules/ecore_imf/meson.build
+++ b/src/modules/ecore_imf/meson.build
@@ -1,7 +1,12 @@
-mods = ['ibus', 'xim']
+mods = []
 
-if dependency('scim-1.0', required : false).found()
-  mods += ['scim']
+
+if get_option('ecore_x')
+  mods +=['ibus', 'xim']
+
+  if dependency('scim-1.0', required : false).found()
+    mods += ['scim']
+  endif
 endif
 
 if get_option('ecore_wl2')

-- 


Reply via email to