decoder/openmpt: check libopenmpt version at compile time, not at configure time

This commit is contained in:
Max Kellermann
2023-04-21 17:28:19 +02:00
parent ad8117e7c8
commit 90c3fe22f5
2 changed files with 3 additions and 5 deletions

View File

@@ -109,7 +109,6 @@ endif
libopenmpt_dep = dependency('libopenmpt', required: get_option('openmpt'))
decoder_features.set('ENABLE_OPENMPT', libopenmpt_dep.found())
decoder_features.set('HAVE_LIBOPENMPT_VERSION_0_5', libopenmpt_dep.version().version_compare('>= 0.5'))
if libopenmpt_dep.found()
decoder_plugins_sources += [
'OpenmptDecoderPlugin.cxx',