Browse Source

force static subprojects for rtaudio/rtmidi

polyline2d
parent
commit
5575bf26d1
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 6
      meson.build

6
meson.build

@ -1137,7 +1137,8 @@ rtmidi_dep = dependency ( @@ -1137,7 +1137,8 @@ rtmidi_dep = dependency (
'rtmidi', version: '>= 5.0.0',
required: get_option ('rtmidi'),
fallback: ['rtmidi', 'zrythm_rtmidi_dep'],
static: all_static)
default_options: [
'default_library=static'])
if rtmidi_dep.found ()
cdata.set('HAVE_RTMIDI', 1)
endif
@ -1148,6 +1149,9 @@ rtaudio_dep = dependency ( @@ -1148,6 +1149,9 @@ rtaudio_dep = dependency (
fallback: ['rtaudio', 'rtaudio_dep'],
default_options: [
'jack=' + (os_windows ? 'disabled' : 'auto'),
# TODO use shared in the future so .dll can be
# replaced on windows
'default_library=static',
# ASIO disabled for legal reasons
'asio=disabled',])
if rtaudio_dep.found ()

Loading…
Cancel
Save