Fix liblastfm finding

This commit is contained in:
David Sansome 2010-06-06 21:08:52 +00:00
parent 42cd269538
commit 0e155c1eaf
2 changed files with 2 additions and 3 deletions

View File

@ -52,7 +52,7 @@ else(WIN32)
pkg_check_modules(LIBXINE libxine)
endif(WIN32)
find_library(LASTFM_LIBRARY_DIRS lastfm)
find_library(LASTFM_LIBRARIES lastfm)
find_path(LASTFM_INCLUDE_DIRS lastfm/ws.h)
find_library(PROJECTM_LIBRARIES projectM)
@ -72,7 +72,6 @@ endif(${CMAKE_BUILD_TYPE} MATCHES "Release")
add_definitions(${QT_DEFINITIONS})
link_directories(${TAGLIB_LIBRARY_DIRS})
link_directories(${GSTREAMER_LIBRARY_DIRS})
link_directories(${LASTFM_LIBRARY_DIRS})
# Don't try to use Phonon if its include directory couldn't be found.
# For some reason this works differently to the rest of Qt...

View File

@ -69,13 +69,13 @@ target_link_libraries(clementine_lib
clementine_translations
qtsingleapplication
qtiocompressor
lastfm
chardet
${GOBJECT_LIBRARIES}
${GLIB_LIBRARIES}
${TAGLIB_LIBRARIES}
${QT_LIBRARIES}
${ENGINE_LIBRARIES}
${LASTFM_LIBRARIES}
)
if (APPLE)