From ab5eb4f9cea596c549135f1e7ea49c462f994470 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 5 Apr 2019 13:51:15 +0200 Subject: [PATCH] tag/meson.build: move libchromaprint detection to lib/chromaprint/ --- meson.build | 1 + src/lib/chromaprint/meson.build | 2 ++ src/tag/meson.build | 3 --- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 src/lib/chromaprint/meson.build 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,