summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eolian_mono/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/mono/eolian_mono/meson.build')
-rw-r--r--src/bindings/mono/eolian_mono/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bindings/mono/eolian_mono/meson.build b/src/bindings/mono/eolian_mono/meson.build
index 7782c7b31d..530a503647 100644
--- a/src/bindings/mono/eolian_mono/meson.build
+++ b/src/bindings/mono/eolian_mono/meson.build
@@ -1,9 +1,14 @@
1inc_dir = include_directories(join_paths('..', '..', '..', 'bin', 'eolian_mono')) 1inc_dir = include_directories(join_paths('..', '..', '..', 'bin', 'eolian_mono'))
2 2
3eolian_mono_gen = executable('eolian_mono', 3eolian_mono_gen_bin = executable('eolian_mono',
4 join_paths('..', '..', '..', 'bin', 'eolian_mono', 'eolian_mono.cc'), 4 join_paths('..', '..', '..', 'bin', 'eolian_mono', 'eolian_mono.cc'),
5 dependencies: [eina_cxx, eolian_cxx], 5 dependencies: [eina_cxx, eolian_cxx],
6 install: true, 6 install: true,
7 include_directories : inc_dir, 7 include_directories : inc_dir,
8 cpp_args : package_c_args, 8 cpp_args : package_c_args,
9 ) 9 )
10if meson.is_cross_build()
11 eolian_mono_gen = find_program('eolian_mono', native: true)
12else
13 eolian_mono_gen = eolian_mono_gen_bin
14endif