From 44e8b52874d644735bf6c2224f0ebaaf20ffd789 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 12 Feb 2013 13:55:05 +0100 Subject: [PATCH] remove linking to some libraries due to removed components is not necessary anymore to link to some of the libraries --- plasma/CMakeLists.txt | 6 +++--- plasma/tests/CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plasma/CMakeLists.txt b/plasma/CMakeLists.txt index 00b15046e..6c1e9f4b1 100644 --- a/plasma/CMakeLists.txt +++ b/plasma/CMakeLists.txt @@ -132,10 +132,10 @@ kconfig_add_kcfg_files(plasma_LIB_SRCS data/kconfigxt/libplasma-theme-global.kcf kde4_add_library(plasma SHARED ${plasma_LIB_SRCS}) target_link_libraries(plasma ${QT_QTUITOOLS_LIBRARY} - ${QT_QTNETWORK_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSQL_LIBRARY} - ${KDE4_KDEUI_LIBS} kdnssd KF5::threadweaver kauth KF5::kwindowsystem ${PLASMA_EXTRA_LIBS} kcoreaddons ki18n) + ${QT_QTNETWORK_LIBRARY} ${QT_QTSQL_LIBRARY} + ${KDE4_KDEUI_LIBS} KF5::threadweaver kauth KF5::kwindowsystem ${PLASMA_EXTRA_LIBS} ki18n) #FIXME gpgme++ is in kdepimlibs, neeeds to be elsewhere -target_link_libraries(plasma ${KDEPIMLIBS_GPGMEPP_LIBS} kdeclarative KF5::karchive) +target_link_libraries(plasma kdeclarative KF5::karchive) if(X11_FOUND) target_link_libraries(plasma ${X11_LIBRARIES}) diff --git a/plasma/tests/CMakeLists.txt b/plasma/tests/CMakeLists.txt index 87daff0d9..9885d20a7 100644 --- a/plasma/tests/CMakeLists.txt +++ b/plasma/tests/CMakeLists.txt @@ -8,7 +8,7 @@ MACRO(PLASMA_UNIT_TESTS) FOREACH(_testname ${ARGN}) kde4_add_unit_test(${_testname} TESTNAME plasma-${_testname} ${_testname}.cpp) target_link_libraries(${_testname} ${QT_QTTEST_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} - ${KDE4_KIO_LIBS} ${KDE4_KDEUI_LIBS} plasma kcoreaddons KF5::karchive) + ${KDE4_KIO_LIBS} ${KDE4_KDEUI_LIBS} plasma KF5::karchive) if(QT_QTOPENGL_FOUND) target_link_libraries(${_testname} ${QT_QTOPENGL_LIBRARY}) endif(QT_QTOPENGL_FOUND)