Fixed compilation error on Arch Linux as suggested by @apoorv569

This commit is contained in:
Lucas Wieling 2022-11-25 07:36:46 +00:00
parent 7f13c45c40
commit 01dad0c725
1 changed files with 5 additions and 8 deletions

View File

@ -266,16 +266,13 @@ endif
snd_subproject = cmake.subproject('libsndfile', options: snd_opts) snd_subproject = cmake.subproject('libsndfile', options: snd_opts)
snd = snd_subproject.dependency('sndfile') snd = snd_subproject.dependency('sndfile')
spdlog = dependency('spdlog', version: '>=1.9.2', required: false)
if not spdlog.found() spdlog_subproject = subproject('spdlog',
spdlog_subproject = subproject('spdlog',
default_options: [ default_options: [
'default_library=static', 'default_library=static',
'compile_library=true',]) 'compile_library=true',])
spdlog = spdlog_subproject.get_variable('spdlog_dep') spdlog = spdlog_subproject.get_variable('spdlog_dep')
endif
aubio = dependency('aubio', version: '>=0.4.9', required: false) aubio = dependency('aubio', version: '>=0.4.9', required: false)