forked from enlightenment/efl
charp: Require mono bindings when using dotnet
Allow using `-Ddotnet=true` to automatically pull `bindings=mono`. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10610
This commit is contained in:
parent
a8417668bc
commit
44b5324259
|
@ -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'))
|
||||
|
|
Loading…
Reference in New Issue