mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
Use KF5Attica instead of LibAttica for Qt5
This commit is contained in:
@@ -248,7 +248,12 @@ macro_log_feature(Boost_FOUND "Boost" "Provides free peer-reviewed portable C++
|
|||||||
macro_optional_find_package(QCA2)
|
macro_optional_find_package(QCA2)
|
||||||
macro_log_feature(QCA2_FOUND "QCA2" "Provides encryption and signing functions necessary for some resolvers and accounts" "http://delta.affinix.com/qca/" TRUE "" "")
|
macro_log_feature(QCA2_FOUND "QCA2" "Provides encryption and signing functions necessary for some resolvers and accounts" "http://delta.affinix.com/qca/" TRUE "" "")
|
||||||
|
|
||||||
macro_optional_find_package(LibAttica 0.4.0)
|
if( TOMAHAWK_QT5 )
|
||||||
|
macro_optional_find_package(KF5Attica 1.0.0)
|
||||||
|
set(LIBATTICA_FOUND ${KF5Attica_FOUND})
|
||||||
|
else()
|
||||||
|
macro_optional_find_package(LibAttica 0.4.0)
|
||||||
|
endif()
|
||||||
macro_log_feature(LIBATTICA_FOUND "libattica" "Provides support for installation of resolvers from the Tomahawk website" "https://projects.kde.org/projects/kdesupport/attica" TRUE "" "")
|
macro_log_feature(LIBATTICA_FOUND "libattica" "Provides support for installation of resolvers from the Tomahawk website" "https://projects.kde.org/projects/kdesupport/attica" TRUE "" "")
|
||||||
|
|
||||||
macro_optional_find_package(QuaZip)
|
macro_optional_find_package(QuaZip)
|
||||||
|
@@ -430,7 +430,7 @@ ENDIF(QCA2_FOUND)
|
|||||||
IF(LIBATTICA_FOUND)
|
IF(LIBATTICA_FOUND)
|
||||||
SET( libGuiSources ${libGuiSources} AtticaManager.cpp )
|
SET( libGuiSources ${libGuiSources} AtticaManager.cpp )
|
||||||
INCLUDE_DIRECTORIES( ${LIBATTICA_INCLUDE_DIR} )
|
INCLUDE_DIRECTORIES( ${LIBATTICA_INCLUDE_DIR} )
|
||||||
LIST(APPEND LINK_LIBRARIES ${LIBATTICA_LIBRARIES} ${QuaZip_LIBRARIES} )
|
LIST(APPEND LINK_LIBRARIES ${LIBATTICA_LIBRARIES} ${LibAttica_LIBRARIES} ${QuaZip_LIBRARIES} )
|
||||||
ENDIF(LIBATTICA_FOUND)
|
ENDIF(LIBATTICA_FOUND)
|
||||||
|
|
||||||
IF( WIN32 )
|
IF( WIN32 )
|
||||||
|
Reference in New Issue
Block a user