decoder/wavpack: require libwavpack version 5

This commit is contained in:
Max Kellermann
2022-07-11 22:02:18 +02:00
parent 4464310e74
commit 349882ed75
3 changed files with 10 additions and 105 deletions

View File

@@ -135,7 +135,7 @@ if libsndfile_dep.found()
decoder_plugins_sources += 'SndfileDecoderPlugin.cxx'
endif
wavpack_dep = dependency('wavpack', required: get_option('wavpack'))
wavpack_dep = dependency('wavpack', version: '>= 5', required: get_option('wavpack'))
decoder_features.set('ENABLE_WAVPACK', wavpack_dep.found())
if wavpack_dep.found()
decoder_plugins_sources += 'WavpackDecoderPlugin.cxx'