From ea3cf5f92d524f37d283cf918b1495cf073892b1 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Thu, 7 Jul 2011 13:36:44 +0000 Subject: [PATCH] Only build lastfm suggester if we have lastfm. Fixes issue #2057 --- src/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cdaabf11b..1d087c949 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -227,8 +227,6 @@ set(SOURCES songinfo/ultimatelyricsprovider.cpp songinfo/ultimatelyricsreader.cpp - suggesters/lastfmsuggester.cpp - transcoder/transcodedialog.cpp transcoder/transcoder.cpp transcoder/transcoderoptionsaac.cpp @@ -441,8 +439,6 @@ set(HEADERS songinfo/ultimatelyricsprovider.h songinfo/ultimatelyricsreader.h - suggesters/lastfmsuggester.h - transcoder/transcodedialog.h transcoder/transcoder.h transcoder/transcoderoptionsdialog.h @@ -629,6 +625,7 @@ if(HAVE_LIBLASTFM) songinfo/echonesttags.cpp songinfo/lastfmtrackinfoprovider.cpp songinfo/tagwidget.cpp + suggesters/lastfmsuggester.cpp ) list(APPEND HEADERS covers/lastfmcoverprovider.h @@ -639,6 +636,7 @@ if(HAVE_LIBLASTFM) songinfo/echonesttags.h songinfo/lastfmtrackinfoprovider.h songinfo/tagwidget.h + suggesters/lastfmsuggester.h ) list(APPEND UI radio/lastfmconfig.ui