1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

Add 5 suffix for liblastfm Qt5 builds

This commit is contained in:
Uwe L. Korn
2014-10-02 15:43:33 +01:00
parent fb83e31324
commit 5ce643850b

View File

@@ -7,6 +7,10 @@
# (c) Dominik Schmidt <dev@dominik-schmidt.de>
#
if( TOMAHAWK_QT5 )
set(LASTFM_LIB_SUFFIX "5")
endif()
# Include dir
find_path(LIBLASTFM_INCLUDE_DIR
# Track.h doesn't exist in liblastfm-0.3.1, was called Track back then
@@ -16,7 +20,7 @@ find_path(LIBLASTFM_INCLUDE_DIR
# Finally the library itself
find_library(LIBLASTFM_LIBRARY
NAMES lastfm
NAMES lastfm${LASTFM_LIB_SUFFIX}
PATHS ${KDE4_LIB_DIR}
)