Skip to content

Commit

Permalink
Fail early in case Taglib 2.0 is found
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer authored Feb 1, 2024
1 parent 82c0ba2 commit fcd0804
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2940,6 +2940,9 @@ target_link_libraries(mixxx-lib PRIVATE SoundTouch::SoundTouch)
# TagLib
find_package(TagLib 1.11 REQUIRED)
target_link_libraries(mixxx-lib PRIVATE TagLib::TagLib)
if (NOT TagLib_VERSION VERSION_LESS 2.0.0)
message(FATAL_ERROR "Installed Taglib ${TagLib_VERSION} is not supported. Use Version >= 1.11 and < 2.0 and its development headers.")
endif()

# Threads
set(THREADS_PREFER_PTHREAD_FLAG ON)
Expand Down

0 comments on commit fcd0804

Please sign in to comment.