Require TagLib 1.12 or newer

This commit is contained in:
Jonas Kvinge 2023-08-09 01:53:26 +02:00
parent 48bb5a3e9f
commit 9ae0afaaf7
1 changed files with 1 additions and 5 deletions

View File

@ -239,7 +239,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()
set(HAVE_TAGLIB ON)
else()
@ -500,7 +500,3 @@ if(NOT CMAKE_CROSSCOMPILING)
message(WARNING "The Qt sqlite driver test failed.")
endif()
endif()
if(HAVE_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()