Browse Source

add version dependency on rtmidi

* meson.build (rtmidi): Require version 4.0.0 or above.
* subprojects/rtmidi.wrap: Use master branch.
agpl_proxy
Alexandros Theodotou 2 years ago
parent
commit
ae528e9ff2
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 4
      meson.build
  2. 2
      subprojects/rtmidi.wrap

4
meson.build

@ -664,6 +664,7 @@ test_strict_cflags = [ @@ -664,6 +664,7 @@ test_strict_cflags = [
'-Werror=nonnull',
'-Werror=nonnull-compare',
'-Werror=pointer-size',
'-Werror=override-init',
]
if cc.get_id() == 'gcc'
@ -958,7 +959,8 @@ if portaudio_dep.found () @@ -958,7 +959,8 @@ if portaudio_dep.found ()
endif
rtmidi_dep = dependency (
'rtmidi', required: get_option ('rtmidi'),
'rtmidi', version: '>= 4.0.0',
required: get_option ('rtmidi'),
static: all_static)
if not rtmidi_dep.found () and not get_option ('rtmidi').disabled ()
rtmidi_proj = subproject('rtmidi')

2
subprojects/rtmidi.wrap

@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
[wrap-git]
url = https://git.sr.ht/~alextee/zrythm-rtmidi
revision = 7783dc86c5ee151b13f62a69497f679e0d237a2d
revision = master

Loading…
Cancel
Save