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:
committed by
Jonas Kvinge
parent
b2c66c9cda
commit
f8e14e8fd5
@@ -326,6 +326,8 @@ if(USE_TAGPARSER)
|
|||||||
pkg_check_modules(TAGPARSER REQUIRED tagparser)
|
pkg_check_modules(TAGPARSER REQUIRED tagparser)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
pkg_check_modules(LIBEBUR128 IMPORTED_TARGET libebur128)
|
||||||
|
|
||||||
if(NOT TAGLIB_FOUND AND NOT TAGPARSER_FOUND)
|
if(NOT TAGLIB_FOUND AND NOT TAGPARSER_FOUND)
|
||||||
message(FATAL_ERROR "You need either TagLib or TagParser!")
|
message(FATAL_ERROR "You need either TagLib or TagParser!")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user