tag/meson.build: move libchromaprint detection to lib/chromaprint/

This commit is contained in:
Max Kellermann 2019-04-05 13:51:15 +02:00
parent a30af2ba42
commit ab5eb4f9ce
3 changed files with 3 additions and 3 deletions

View File

@ -310,6 +310,7 @@ subdir('src/lib/smbclient')
subdir('src/lib/zlib') subdir('src/lib/zlib')
subdir('src/lib/alsa') subdir('src/lib/alsa')
subdir('src/lib/chromaprint')
subdir('src/lib/curl') subdir('src/lib/curl')
subdir('src/lib/expat') subdir('src/lib/expat')
subdir('src/lib/ffmpeg') subdir('src/lib/ffmpeg')

View File

@ -0,0 +1,2 @@
chromaprint_dep = dependency('libchromaprint', required: get_option('chromaprint'))
conf.set('ENABLE_CHROMAPRINT', chromaprint_dep.found())

View File

@ -33,9 +33,6 @@ if libid3tag_dep.found()
] ]
endif endif
chromaprint_dep = dependency('libchromaprint', required: get_option('chromaprint'))
conf.set('ENABLE_CHROMAPRINT', chromaprint_dep.found())
tag = static_library( tag = static_library(
'tag', 'tag',
tag_sources, tag_sources,