Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

Commit

Permalink
Bump TagLib dependency to 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
eplightning committed Feb 25, 2017
1 parent bfc6cb8 commit 1d77a98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ if(WITH_TAGLIB)
exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_CFLAGS)
exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --version RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_VERSION)
if(TAGLIB_LIBRARIES AND TAGLIB_CFLAGS AND TAGLIB_VERSION)
if(${TAGLIB_VERSION} VERSION_GREATER "1.4" OR ${TAGLIB_VERSION} VERSION_EQUAL "1.4")
if(${TAGLIB_VERSION} VERSION_GREATER "1.11" OR ${TAGLIB_VERSION} VERSION_EQUAL "1.11")
set(HAVE_TAGLIB 1)
message(STATUS "TagLib found: ${TAGLIB_LIBRARIES}")
endif()
endif(TAGLIB_LIBRARIES AND TAGLIB_CFLAGS AND TAGLIB_VERSION)
endif(TAGLIBCONFIG_EXECUTABLE)
if(NOT HAVE_TAGLIB)
message(FATAL_ERROR "Could not find Taglib 1.4 or newer")
message(FATAL_ERROR "Could not find Taglib 1.11 or newer")
endif(NOT HAVE_TAGLIB)
endif(WITH_TAGLIB)

Expand Down

0 comments on commit 1d77a98

Please sign in to comment.