From a6a32b5e54e899a31f68a3948750ba0303dc0745 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Wed, 10 Apr 2019 22:44:59 +0200 Subject: [PATCH] meson: set ENABLE_XIM if the xim module is compiled --- src/modules/ecore_imf/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/ecore_imf/meson.build b/src/modules/ecore_imf/meson.build index b8a495a..97f021a 100644 --- a/src/modules/ecore_imf/meson.build +++ b/src/modules/ecore_imf/meson.build @@ -15,6 +15,9 @@ foreach mod_name : mods mod_src = [] mod_deps = [] + if loader_disabler.contains('xim') == false + config_h.set('ENABLE_'+mod_name.to_upper(), '1') + endif if loader_disabler.contains(mod_name) == false mod_install_dir = join_paths(dir_package_modules, mod_name, version_name) subdir(mod_name) -- 2.7.4