1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-13 17:43:59 +02:00

Fix to allow building with dependencies that are outside the usual system locations.

This commit is contained in:
Guillermo A. Amaral
2011-03-25 04:19:37 +08:00
committed by Christian Muehlhaeuser
parent 6d92d158bb
commit 32d82159d9
5 changed files with 8 additions and 4 deletions

View File

@@ -143,6 +143,7 @@ INCLUDE_DIRECTORIES(
${TAGLIB_INCLUDES}
${QJSON_INCLUDE_DIR}
${LIBECHONEST_INCLUDE_DIR}
${LIBECHONEST_INCLUDE_DIR}/..
)

View File

@@ -305,6 +305,7 @@ set( libUI ${libUI}
include_directories( . ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/.. ..
${CMAKE_CURRENT_SOURCE_DIR}
${QT_INCLUDE_DIR}
${QJSON_INCLUDE_DIR}
${LIBECHONEST_INCLUDE_DIR}
${LIBECHONEST_INCLUDE_DIR}/..
${CLUCENE_INCLUDE_DIR}

View File

@@ -25,7 +25,7 @@
#include <QLineEdit>
#include <QComboBox>
#include <QLabel>
#include <Playlist.h>
#include <echonest/Playlist.h>
#include <QPainter>
#include <QToolButton>
#include <dynamic/widgets/DynamicWidget.h>

View File

@@ -19,8 +19,9 @@
#ifndef MUSICSCANNER_H
#define MUSICSCANNER_H
#include <taglib/fileref.h>
#include <taglib/tag.h>
/* taglib */
#include <fileref.h>
#include <tag.h>
#include <QVariantMap>
#include <QDir>

View File

@@ -164,6 +164,7 @@ include_directories(
.
${QT_INCLUDE_DIR}
${QT_INCLUDES}
${QJSON_INCLUDE_DIR}
qtweetlib/src
)
@@ -173,7 +174,7 @@ ADD_LIBRARY(tomahawk_qtweetlib SHARED ${TOMAHAWK_QTWEETLIB_SOURCES} ${TOMAHAWK_Q
target_link_libraries(tomahawk_qtweetlib
${QT_LIBRARIES}
qjson
${QJSON_LIBRARIES}
)
INCLUDE( ${CMAKE_CURRENT_SOURCE_DIR}/twitter-api-keys )