Skip to content

Commit

Permalink
Require TagLib 1.12 or newer
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Aug 8, 2023
1 parent bfb95d5 commit c78d38c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ endif()

# TAGLIB
if(USE_TAGLIB)
pkg_check_modules(TAGLIB REQUIRED taglib>=1.11.1)
pkg_check_modules(TAGLIB REQUIRED taglib>=1.12)
if(TAGLIB_FOUND)
find_path(HAVE_TAGLIB_DSFFILE_H taglib/dsffile.h)
find_path(HAVE_TAGLIB_DSDIFFFILE_H taglib/dsdifffile.h)
Expand Down Expand Up @@ -600,6 +600,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()

0 comments on commit c78d38c

Please sign in to comment.