From f8e14e8fd51716d6901286620821c101fc4ff6e9 Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Tue, 27 Jun 2023 04:58:03 +0300 Subject: [PATCH] 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. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5db341df0..b8093611e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()