1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00

Only build lastfm suggester if we have lastfm.

Fixes issue #2057
This commit is contained in:
John Maguire 2011-07-07 13:36:44 +00:00
parent e6b2e5bcae
commit ea3cf5f92d

View File

@ -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