From 1e260a4d7a408384bd14341839cbc09f7f2dfff3 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Thu, 25 Mar 2010 21:04:47 +0000 Subject: [PATCH] We can't check the version of taglib on windows. --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d09ee318c..123ac275d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,16 +30,16 @@ if(WIN32) else(WIN32) pkg_check_modules(TAGLIB taglib) pkg_check_modules(XINE libxine) + + 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) endif(WIN32) if (NOT Boost_FOUND) message(FATAL_ERROR "Boost not found") endif (NOT Boost_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)