From 7aa9385ec3be2a91d3e8c9161f8a260fa7286864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Izzo?= Date: Fri, 9 Feb 2024 09:06:57 +0100 Subject: [PATCH] Fix build on T-TWR Plus Whenever one is building T-TWR Plus without having built other targets previously, we ensure that the codec2 sources are in place. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 455e0115..a75778f3 100644 --- a/meson.build +++ b/meson.build @@ -119,8 +119,8 @@ openrtx_inc += ['lib/minmea/include'] openrtx_inc += ['lib/qdec/include'] # CODEC2, open source speech codec, compile from source on embedded +codec2_proj = subproject('codec2') if meson.is_cross_build() - codec2_proj = subproject('codec2') codec2_dep = codec2_proj.get_variable('codec2_dep') else cpp = meson.get_compiler('cpp')