aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-01-01 00:34:55 +0100
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-01-01 00:34:55 +0100
commit568117385521005e26df2d7918fdfafe85165468 (patch)
tree55e8e7c1d6d293257e4c1fb569ad3735da989d84
parent56234f740d654b08cd7e03fa3d85550b33d1ff18 (diff)
downloadmapper.lv2-568117385521005e26df2d7918fdfafe85165468.zip
mapper.lv2-568117385521005e26df2d7918fdfafe85165468.tar.gz
mapper.lv2-568117385521005e26df2d7918fdfafe85165468.tar.bz2
mapper.lv2-568117385521005e26df2d7918fdfafe85165468.tar.xz
meson: fix darwin cross compilation.
-rw-r--r--VERSION2
-rw-r--r--meson.build7
2 files changed, 8 insertions, 1 deletions
diff --git a/VERSION b/VERSION
index a4c528c..8893a8e 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.53
+0.1.55
diff --git a/meson.build b/meson.build
index 16a2267..e07e8b3 100644
--- a/meson.build
+++ b/meson.build
@@ -17,8 +17,15 @@ lv2_dep = dependency('lv2')
thread_dep = dependency('threads')
deps = [m_dep, lv2_dep, thread_dep,]
+c_args = []
+
+if host_machine.system() == 'darwin'
+ c_args += '-Wno-unknown-attributes'
+endif
+
mapper_test = executable('mapper_test',
join_paths('test', 'mapper_test.c'),
+ c_args : c_args,
dependencies : deps,
install : false)