Require TagLib 1.12 or newer

This commit is contained in:
Jonas Kvinge 2023-08-09 01:53:26 +02:00
parent 4626a6f609
commit fd5b4fe6ed
1 changed files with 1 additions and 4 deletions

View File

@ -278,7 +278,7 @@ if(USE_TAGLIB)
set(HAVE_TAGLIB_DSFFILE ON)
set(HAVE_TAGLIB_DSDIFFFILE ON)
else()
pkg_check_modules(TAGLIB REQUIRED taglib>=1.11.1)
pkg_check_modules(TAGLIB REQUIRED taglib>=1.12)
endif()
endif()
@ -562,6 +562,3 @@ if(NOT CMAKE_CROSSCOMPILING)
endif()
endif()
if(USE_TAGLIB AND TAGLIB_FOUND AND NOT TAGLIB_VERSION VERSION_GREATER_EQUAL 1.12)
message(WARNING "There is a critical bug in TagLib (1.11.1) that can result in corrupt Ogg files, see: https://github.com/taglib/taglib/issues/864, please consider updating TagLib to the newest version.")
endif()