Merge branch 'nimius-testing-patch-44800' into 'testing'

Fixed compilation error for spdlog.

See merge request samplehive/sample-hive!10
This commit is contained in:
Apoorv 2022-11-26 07:38:26 +00:00
commit 0f1700fcdc
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 = 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)