Use target instead of var for KF5::KI18n
This commit is contained in:
parent
47a38c5edd
commit
0aa6247dd9
@ -18,7 +18,7 @@ target_link_libraries(sortfiltermodeltest
|
|||||||
${KDE4Support_LIBRARIES}
|
${KDE4Support_LIBRARIES}
|
||||||
${QT_QTGUI_LIBRARY}
|
${QT_QTGUI_LIBRARY}
|
||||||
${QT_QTTEST_LIBRARY}
|
${QT_QTTEST_LIBRARY}
|
||||||
${KI18n_LIBRARIES}
|
KF5::KI18n
|
||||||
Qt5::Qml
|
Qt5::Qml
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ add_library(runnermodelplugin SHARED ${runnermodel_SRCS})
|
|||||||
target_link_libraries(runnermodelplugin
|
target_link_libraries(runnermodelplugin
|
||||||
${Qt5Quick_LIBRARIES}
|
${Qt5Quick_LIBRARIES}
|
||||||
${Qt5Qml_LIBRARIES}
|
${Qt5Qml_LIBRARIES}
|
||||||
${KI18n_LIBRARIES}
|
KF5::KI18n
|
||||||
plasma
|
plasma
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ target_link_libraries(fullmodelaccesstest
|
|||||||
${KCore_LIBRARIES}
|
${KCore_LIBRARIES}
|
||||||
${KDE4Support_LIBRARIES}
|
${KDE4Support_LIBRARIES}
|
||||||
|
|
||||||
${KI18n_LIBRARIES}
|
KF5::KI18n
|
||||||
)
|
)
|
||||||
|
|
||||||
add_test(plasma-fullmodelaccesstest fullmodelaccesstest)
|
add_test(plasma-fullmodelaccesstest fullmodelaccesstest)
|
||||||
|
@ -158,7 +158,7 @@ target_link_libraries(plasma
|
|||||||
${KDE4Support_LIBRARIES} # needed for KStandardDirs and KGlobal
|
${KDE4Support_LIBRARIES} # needed for KStandardDirs and KGlobal
|
||||||
)
|
)
|
||||||
#FIXME gpgme++ is in kdepimlibs, needs to be elsewhere
|
#FIXME gpgme++ is in kdepimlibs, needs to be elsewhere
|
||||||
target_link_libraries(plasma KF5::KDeclarative ${KArchive_LIBRARIES})
|
target_link_libraries(plasma KF5::KDeclarative KF5::KArchive)
|
||||||
|
|
||||||
if(X11_FOUND)
|
if(X11_FOUND)
|
||||||
target_link_libraries(plasma Qt5::X11Extras ${X11_LIBRARIES})
|
target_link_libraries(plasma Qt5::X11Extras ${X11_LIBRARIES})
|
||||||
|
@ -14,7 +14,7 @@ MACRO(PLASMA_UNIT_TESTS)
|
|||||||
FOREACH(_testname ${ARGN})
|
FOREACH(_testname ${ARGN})
|
||||||
add_executable(${_testname} ${_testname}.cpp)
|
add_executable(${_testname} ${_testname}.cpp)
|
||||||
target_link_libraries(${_testname} ${QT_QTTEST_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY}
|
target_link_libraries(${_testname} ${QT_QTTEST_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY}
|
||||||
plasma ${KArchive_LIBRARIES} KF5::KCoreAddons
|
plasma KF5::KArchive KF5::KCoreAddons
|
||||||
KF5::KConfigGui
|
KF5::KConfigGui
|
||||||
KF5::KI18n
|
KF5::KI18n
|
||||||
KF5::KIOCore
|
KF5::KIOCore
|
||||||
|
@ -5,7 +5,7 @@ add_executable(plugintest
|
|||||||
plugintest.cpp
|
plugintest.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(plugintest plasma ${KI18n_LIBRARIES} KF5::KService Qt5::DBus)
|
target_link_libraries(plugintest plasma KF5::KI18n KF5::KService Qt5::DBus)
|
||||||
|
|
||||||
message("INSTALL_TARGETS_DEFAULT_ARGS ${INSTALL_TARGETS_DEFAULT_ARGS}")
|
message("INSTALL_TARGETS_DEFAULT_ARGS ${INSTALL_TARGETS_DEFAULT_ARGS}")
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ add_executable(plasmapkg
|
|||||||
plasmapkg.cpp
|
plasmapkg.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(plasmapkg plasma ${KI18n_LIBRARIES} KF5::KService KF5::KCoreAddons Qt5::DBus)
|
target_link_libraries(plasmapkg plasma KF5::KI18n KF5::KService KF5::KCoreAddons Qt5::DBus)
|
||||||
|
|
||||||
message("INSTALL_TARGETS_DEFAULT_ARGS ${INSTALL_TARGETS_DEFAULT_ARGS}")
|
message("INSTALL_TARGETS_DEFAULT_ARGS ${INSTALL_TARGETS_DEFAULT_ARGS}")
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ target_link_libraries(PlasmaQuick
|
|||||||
${Qt5Quick_LIBRARIES}
|
${Qt5Quick_LIBRARIES}
|
||||||
${Qt5Qml_LIBRARIES}
|
${Qt5Qml_LIBRARIES}
|
||||||
${KWindowSystem_LIBRARIES}
|
${KWindowSystem_LIBRARIES}
|
||||||
${KI18n_LIBRARIES}
|
KF5::KI18n
|
||||||
KF5::KService
|
KF5::KService
|
||||||
KF5::KCoreAddons
|
KF5::KCoreAddons
|
||||||
${XmlGui_LIBRARIES}
|
${XmlGui_LIBRARIES}
|
||||||
|
@ -19,7 +19,7 @@ target_link_libraries(
|
|||||||
KF5::KService
|
KF5::KService
|
||||||
KF5::KCoreAddons
|
KF5::KCoreAddons
|
||||||
${KDBusAddons_LIBRARIES}
|
${KDBusAddons_LIBRARIES}
|
||||||
${KI18n_LIBRARIES}
|
KF5::KI18n
|
||||||
KF5::KIOCore KF5::KIOWidgets
|
KF5::KIOCore KF5::KIOWidgets
|
||||||
Qt5::DBus
|
Qt5::DBus
|
||||||
Qt5::Quick
|
Qt5::Quick
|
||||||
|
Loading…
Reference in New Issue
Block a user