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
+5 -8
View File
@@ -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)