Target names instead of vars

This commit is contained in:
Sebastian Kügler 2013-10-16 01:38:38 +02:00
parent aa2f0c787a
commit ae2eef978d
4 changed files with 5 additions and 5 deletions

View File

@ -8,8 +8,8 @@ plasma_add_plugin(plasma_dataengine_example_simpleEngine ${simpleEngine_SRCS})
target_link_libraries(plasma_dataengine_example_simpleEngine
Plasma
${KService_LIBRARIES}
${KI18n_LIBRARIES}
KF5::KService
KF5::KI18n
)
install(TARGETS plasma_dataengine_example_simpleEngine DESTINATION ${PLUGIN_INSTALL_DIR})

View File

@ -8,7 +8,7 @@ plasma_add_plugin(plasma_dataengine_example_sourcesOnRequest ${sourcesOnRequest_
target_link_libraries(plasma_dataengine_example_sourcesOnRequest
Plasma
${KService_LIBRARIES}
KF5::KService
)
install(TARGETS plasma_dataengine_example_sourcesOnRequest DESTINATION ${PLUGIN_INSTALL_DIR})

View File

@ -8,7 +8,7 @@ set(plasma_example_kpart_shell_SRCS
kde4_add_ui_files(plasma_example_kpart_shell_SRCS appletselector.ui)
kde4_add_executable(plasma-example-kpart-shell ${plasma_example_kpart_shell_SRCS})
target_link_libraries(plasma-example-kpart-shell ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_PLASMA_LIBS} )
target_link_libraries(plasma-example-kpart-shell ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} KF5::Plasma )
########### install files ###############
install(TARGETS plasma-example-kpart-shell ${INSTALL_TARGETS_DEFAULT_ARGS} )

View File

@ -6,7 +6,7 @@ set(example_SRCS homefilesrunner.cpp)
# Now make sure all files get to the right place
kde4_add_plugin(plasma_runner_example_homefiles ${example_SRCS})
target_link_libraries(plasma_runner_example_homefiles ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS})
target_link_libraries(plasma_runner_example_homefiles KF5::Plasma KF5::KIOCore KF5::KIOWidgets)
# Install the library and .desktop file
install(TARGETS plasma_runner_example_homefiles DESTINATION ${PLUGIN_INSTALL_DIR})