CMake: look for `libebur128`

We are going to use said library to calculate the two measures in question
from decoded audio.

I am adding this in default-on state, since this library
should be well-packaged everywhere, and this is something that,
i presume, we want.
This commit is contained in:
Roman Lebedev 2023-06-27 04:58:03 +03:00 committed by Jonas Kvinge
parent b2c66c9cda
commit f8e14e8fd5
1 changed files with 2 additions and 0 deletions

View File

@ -326,6 +326,8 @@ if(USE_TAGPARSER)
pkg_check_modules(TAGPARSER REQUIRED tagparser)
endif()
pkg_check_modules(LIBEBUR128 IMPORTED_TARGET libebur128)
if(NOT TAGLIB_FOUND AND NOT TAGPARSER_FOUND)
message(FATAL_ERROR "You need either TagLib or TagParser!")
endif()