1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-22 05:33:32 +02:00

Qt4--: Remove any traces of TOMAHAWK_QT5

This commit is contained in:
Andreas Sturmlechner
2018-07-07 20:40:38 +02:00
committed by Dominik Schmidt
parent 119a7ebdb8
commit 7302047e9a
6 changed files with 75 additions and 155 deletions

View File

@@ -7,21 +7,15 @@
# (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
NAMES lastfm${LASTFM_LIB_SUFFIX}/Track.h
PATHS ${KDE4_INCLUDE_DIR}
NAMES lastfm5/Track.h
)
# Finally the library itself
find_library(LIBLASTFM_LIBRARY
NAMES lastfm${LASTFM_LIB_SUFFIX}
PATHS ${KDE4_LIB_DIR}
NAMES lastfm5
)
set(LIBLASTFM_LIBRARIES ${LIBLASTFM_LIBRARY})