Use target instead of var for KF5::KService and KCoreAddons

This commit is contained in:
Sebastian Kügler 2013-10-04 23:42:16 +02:00
parent 80a4e61a4e
commit 47a38c5edd
6 changed files with 9 additions and 9 deletions

View File

@ -14,7 +14,7 @@ MACRO(PLASMA_UNIT_TESTS)
FOREACH(_testname ${ARGN})
add_executable(${_testname} ${_testname}.cpp)
target_link_libraries(${_testname} ${QT_QTTEST_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY}
plasma ${KArchive_LIBRARIES} ${KCoreAddons_LIBRARIES}
plasma ${KArchive_LIBRARIES} KF5::KCoreAddons
KF5::KConfigGui
KF5::KI18n
KF5::KIOCore
@ -36,7 +36,7 @@ PLASMA_UNIT_TESTS(
)
add_executable(storagetest storagetest.cpp ../private/storage.cpp ../private/storagethread.cpp)
target_link_libraries(storagetest ${QT_QTTEST_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTSQL_LIBRARY} KF5::KIOCore plasma ${KCoreAddons_LIBRARIES} )
target_link_libraries(storagetest ${QT_QTTEST_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTSQL_LIBRARY} KF5::KIOCore plasma KF5::KCoreAddons )
add_test(plasma-storagetest storagetest)
ecm_mark_as_test(plasma-storagetest)

View File

@ -5,7 +5,7 @@ add_executable(plugintest
plugintest.cpp
)
target_link_libraries(plugintest plasma ${KI18n_LIBRARIES} ${KService_LIBRARIES} Qt5::DBus)
target_link_libraries(plugintest plasma ${KI18n_LIBRARIES} KF5::KService Qt5::DBus)
message("INSTALL_TARGETS_DEFAULT_ARGS ${INSTALL_TARGETS_DEFAULT_ARGS}")

View File

@ -5,7 +5,7 @@ add_executable(plasmapkg
plasmapkg.cpp
)
target_link_libraries(plasmapkg plasma ${KI18n_LIBRARIES} ${KService_LIBRARIES} KF5::KCoreAddons Qt5::DBus)
target_link_libraries(plasmapkg plasma ${KI18n_LIBRARIES} KF5::KService KF5::KCoreAddons Qt5::DBus)
message("INSTALL_TARGETS_DEFAULT_ARGS ${INSTALL_TARGETS_DEFAULT_ARGS}")

View File

@ -21,8 +21,8 @@ target_link_libraries(PlasmaQuick
${Qt5Qml_LIBRARIES}
${KWindowSystem_LIBRARIES}
${KI18n_LIBRARIES}
${KService_LIBRARIES}
${KCoreAddons_LIBRARIES}
KF5::KService
KF5::KCoreAddons
${XmlGui_LIBRARIES}
plasma
KF5::KDeclarative

View File

@ -16,8 +16,8 @@ plasma_add_plugin(kded_platformstatus ${kded_platformstatus_SRCS} )
target_link_libraries(
kded_platformstatus
${KCore_LIBRARIES}
${KService_LIBRARIES}
${KCoreAddons_LIBRARIES}
KF5::KService
KF5::KCoreAddons
${KDBusAddons_LIBRARIES}
${KI18n_LIBRARIES}
KF5::KIOCore KF5::KIOWidgets

View File

@ -79,7 +79,7 @@ target_link_libraries(plasma-shell
${KCore_LIBRARIES}
KF5::KIOCore
${KWindowSystem_LIBRARIES}
${KCoreAddons_LIBRARIES}
KF5::KCoreAddons
plasma
PlasmaQuick
${Qt5Script_LIBRARIES}