1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-30 09:10:53 +02:00

Add FindPhonon.cmake from kde, and uses phonon/ includes as that's the "proper" include path for both qt- and kde-phonon

This commit is contained in:
Leo Franchi
2011-04-22 09:58:30 -04:00
parent 89606c49d4
commit 695e029709
5 changed files with 86 additions and 6 deletions

View File

@@ -38,6 +38,13 @@ INCLUDE( MacroLogFeature )
#macro_log_feature(LIBLASTFM_FOUND "LastFm" "Qt library for the Last.fm webservices" "https://github.com/mxcl/liblastfm" FALSE "" "liblastfm is needed for scrobbling tracks to Last.fm and fetching cover artwork")
set(LIBLASTFM_FOUND true)
find_package(Phonon REQUIRED)
if(PHONON_FOUND)
message("Phonon found, all is good!" )
else()
message(STATUS "Phonon not found, but required!")
endif()
macro_optional_find_package(LibEchonest 1.1.1)
macro_log_feature(LIBECHONEST_FOUND "Echonest" "Qt library for communicating with The Echo Nest" "http://projects.kde.org/libechonest" TRUE "" "libechonest is needed for dynamic playlists and the infosystem")