Check for taglib >= 1.6

This commit is contained in:
David Sansome 2010-03-24 15:32:19 +00:00
parent fc522602bd
commit ba8f57fcbd
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,10 @@ if (LIBNOTIFY_FOUND)
include_directories(${LIBNOTIFY_INCLUDE_DIRS})
endif (LIBNOTIFY_FOUND)
if (TAGLIB_VERSION VERSION_LESS 1.6)
message(FATAL_ERROR "Taglib version 1.6 or greater is required")
endif (TAGLIB_VERSION VERSION_LESS 1.6)
find_library(LASTFM_LIBRARY_DIRS lastfm)
find_path(LASTFM_INCLUDE_DIRS lastfm/ws.h)