From fd5b4fe6ed5b2328dab27c00ecf37757fca34b93 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 9 Aug 2023 01:53:26 +0200 Subject: [PATCH] Require TagLib 1.12 or newer --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 07409145..356f9f79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()