From 158dec2816205ce89d458c8e3c41238798391203 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Wed, 29 Oct 2014 21:41:09 +0100 Subject: [PATCH] Link attica privately --- src/libtomahawk/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/CMakeLists.txt b/src/libtomahawk/CMakeLists.txt index 285cd3d9c..f36c4ae54 100644 --- a/src/libtomahawk/CMakeLists.txt +++ b/src/libtomahawk/CMakeLists.txt @@ -407,9 +407,9 @@ ENDIF(QCA2_FOUND) IF(LIBATTICA_FOUND) SET( libGuiSources ${libGuiSources} AtticaManager.cpp ) INCLUDE_DIRECTORIES( ${LIBATTICA_INCLUDE_DIR} ) - LIST(APPEND 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 ) + LIST(APPEND PRIVATE_LINK_LIBRARIES KF5::Attica ) ENDIF( TOMAHAWK_QT5 ) ENDIF(LIBATTICA_FOUND) @@ -505,6 +505,7 @@ TARGET_LINK_LIBRARIES( tomahawklib # Thirdparty shipped with tomahawk ${LIBPORTFWD_LIBRARIES} ${QTKEYCHAIN_LIBRARIES} + ${PRIVATE_LINK_LIBRARIES} LINK_PUBLIC # External deps