bu5hm4n pushed a commit to branch master.

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

commit 44b532425915aeaf97637db96053e03b2b97bfa7
Author: Lauro Moura <[email protected]>
Date:   Wed Nov 6 18:41:13 2019 +0000

    charp: Require mono bindings when using dotnet
    
    Allow using `-Ddotnet=true` to automatically pull `bindings=mono`.
    
    Reviewed-by: Marcel Hollerbach <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D10610
---
 src/bindings/meson.build | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/bindings/meson.build b/src/bindings/meson.build
index e6a59d1559..b59e084d8a 100644
--- a/src/bindings/meson.build
+++ b/src/bindings/meson.build
@@ -2,6 +2,11 @@
 bindings = get_option('bindings')
 bindings_order = ['luajit', 'cxx', 'mono']
 
+if (get_option('dotnet') and not bindings.contains('mono'))
+  message('dotnet support requires the C# bindings')
+  bindings += ['mono']
+endif
+
 if (bindings.contains('cxx') == false and bindings.contains('mono'))
   subdirs = ['eina_cxx', 'eolian_cxx']
   subdir(join_paths('cxx', 'eina_cxx'))

-- 


Reply via email to