From 01dad0c72531cc5d458695c7ab24eda5f3eb9b0c Mon Sep 17 00:00:00 2001 From: Lucas Wieling Date: Fri, 25 Nov 2022 07:36:46 +0000 Subject: [PATCH] Fixed compilation error on Arch Linux as suggested by @apoorv569 --- meson.build | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/meson.build b/meson.build index 2a6ca89..1310fa5 100755 --- a/meson.build +++ b/meson.build @@ -266,16 +266,13 @@ endif snd_subproject = cmake.subproject('libsndfile', options: snd_opts) snd = snd_subproject.dependency('sndfile') -spdlog = dependency('spdlog', version: '>=1.9.2', required: false) -if not spdlog.found() - spdlog_subproject = subproject('spdlog', - default_options: [ - 'default_library=static', - 'compile_library=true',]) +spdlog_subproject = subproject('spdlog', + default_options: [ + 'default_library=static', + 'compile_library=true',]) - spdlog = spdlog_subproject.get_variable('spdlog_dep') -endif +spdlog = spdlog_subproject.get_variable('spdlog_dep') aubio = dependency('aubio', version: '>=0.4.9', required: false)