From 6ddcf075ebd7f30408849c0e753a7341c033d617 Mon Sep 17 00:00:00 2001 From: Alexandros Theodotou Date: Wed, 22 Dec 2021 12:51:25 +0000 Subject: [PATCH] fix rtaudio subproject not working --- meson.build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/meson.build b/meson.build index 1b9f9e7d6..299d24dff 100644 --- a/meson.build +++ b/meson.build @@ -1157,12 +1157,8 @@ endif rtaudio_dep = dependency ( 'rtaudio', required: get_option ('rtaudio'), version: '>=5.1.0', + fallback: ['rtaudio', 'zrythm_rtaudio_dep'], static: all_static) -if not rtaudio_dep.found() and not get_option ('rtaudio').disabled () - rtaudio_proj = subproject('rtaudio') - rtaudio_dep = rtaudio_proj.get_variable( - 'zrythm_rtaudio_dep') -endif if rtaudio_dep.found () cdata.set('HAVE_RTAUDIO', 1) endif