1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-17 19:37:09 +02:00

Use upstream FindQuaZip(5).cmake

This commit is contained in:
Dominik Schmidt
2015-02-06 22:47:13 +01:00
parent 683f9229f6
commit d7177e30cb
4 changed files with 12 additions and 14 deletions

View File

@@ -405,7 +405,7 @@ include_directories(
IF(LIBATTICA_FOUND)
SET( libGuiSources ${libGuiSources} AtticaManager.cpp )
INCLUDE_DIRECTORIES( ${LIBATTICA_INCLUDE_DIR} )
LIST(APPEND PRIVATE_LINK_LIBRARIES ${LIBATTICA_LIBRARIES} ${LibAttica_LIBRARIES} ${QuaZip_LIBRARIES} )
LIST(APPEND PRIVATE_LINK_LIBRARIES ${LIBATTICA_LIBRARIES} ${LibAttica_LIBRARIES} ${QUAZIP_LIBRARIES} )
IF( TOMAHAWK_QT5 )
LIST(APPEND LINK_LIBRARIES KF5::Attica )
ENDIF( TOMAHAWK_QT5 )

View File

@@ -35,9 +35,13 @@
#include <lastfm/ws.h>
#endif
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
#include <quazip5/quazip.h>
#include <quazip5/quazipfile.h>
#else
#include <quazip/quazip.h>
#include <quazip/quazipfile.h>
#endif
// We need this for the version info (if available)
#include <taglib/taglib.h>