mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-15 02:46:57 +01:00
Fix liblastfm finding
This commit is contained in:
parent
42cd269538
commit
0e155c1eaf
@ -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...
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user