diff --git a/meson.build b/meson.build index 4ae9259fa..3aecf9310 100644 --- a/meson.build +++ b/meson.build @@ -310,6 +310,7 @@ subdir('src/lib/smbclient') subdir('src/lib/zlib') subdir('src/lib/alsa') +subdir('src/lib/chromaprint') subdir('src/lib/curl') subdir('src/lib/expat') subdir('src/lib/ffmpeg') diff --git a/src/lib/chromaprint/meson.build b/src/lib/chromaprint/meson.build new file mode 100644 index 000000000..0eab568df --- /dev/null +++ b/src/lib/chromaprint/meson.build @@ -0,0 +1,2 @@ +chromaprint_dep = dependency('libchromaprint', required: get_option('chromaprint')) +conf.set('ENABLE_CHROMAPRINT', chromaprint_dep.found()) diff --git a/src/tag/meson.build b/src/tag/meson.build index 08b9e5e92..c423417d1 100644 --- a/src/tag/meson.build +++ b/src/tag/meson.build @@ -33,9 +33,6 @@ if libid3tag_dep.found() ] endif -chromaprint_dep = dependency('libchromaprint', required: get_option('chromaprint')) -conf.set('ENABLE_CHROMAPRINT', chromaprint_dep.found()) - tag = static_library( 'tag', tag_sources,