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

find qtkeychain library via CMake

This commit is contained in:
Stefan Derkits
2012-05-22 15:09:12 +02:00
parent ed48f4a5f2
commit 44aa299099
2 changed files with 10 additions and 6 deletions

View File

@@ -120,6 +120,9 @@ macro_log_feature(Boost_FOUND "Boost" "Provides free peer-reviewed portable C++
macro_optional_find_package(QCA2)
macro_log_feature(QCA2_FOUND "QCA2" "Provides encryption and signing functions required for Grooveshark resolver" "http://delta.affinix.com/qca/" FALSE "" "")
macro_optional_find_package(QtKeychain)
macro_log_feature(QTKEYCHAIN_FOUND "QtKeychain" "Provides support for secure password storage" "https://github.com/frankosterfeld/qtkeychain" TRUE "" "")
macro_optional_find_package(LibAttica)
macro_log_feature(LIBATTICA_FOUND "libattica" "Provides support for automatic fetching and managing of resolvers from the tomahawk website" "https://projects.kde.org/projects/kdesupport/attica" TRUE "" "")

View File

@@ -329,6 +329,8 @@ include_directories( . ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/.
${LIBECHONEST_INCLUDE_DIR}/..
${CLUCENE_INCLUDE_DIRS}
${PHONON_INCLUDES}
${QTKEYCHAIN_INCLUD_DIRS}
${QTKEYCHAIN_INCLUD_DIRS}/..
${CMAKE_BINARY_DIR}/thirdparty/liblastfm2/src
playlist
@@ -452,8 +454,7 @@ TARGET_LINK_LIBRARIES( tomahawklib
${OS_SPECIFIC_LINK_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
${LINK_LIBRARIES}
-L/home/t95012/kde/lib/i386-linux-gnu/
qtkeychain
${QTKEYCHAIN_LIBRARIES}
)
INSTALL( TARGETS tomahawklib