Target names instead of vars
This commit is contained in:
parent
aa2f0c787a
commit
ae2eef978d
@ -8,8 +8,8 @@ plasma_add_plugin(plasma_dataengine_example_simpleEngine ${simpleEngine_SRCS})
|
|||||||
|
|
||||||
target_link_libraries(plasma_dataengine_example_simpleEngine
|
target_link_libraries(plasma_dataengine_example_simpleEngine
|
||||||
Plasma
|
Plasma
|
||||||
${KService_LIBRARIES}
|
KF5::KService
|
||||||
${KI18n_LIBRARIES}
|
KF5::KI18n
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS plasma_dataengine_example_simpleEngine DESTINATION ${PLUGIN_INSTALL_DIR})
|
install(TARGETS plasma_dataengine_example_simpleEngine DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||||
|
@ -8,7 +8,7 @@ plasma_add_plugin(plasma_dataengine_example_sourcesOnRequest ${sourcesOnRequest_
|
|||||||
|
|
||||||
target_link_libraries(plasma_dataengine_example_sourcesOnRequest
|
target_link_libraries(plasma_dataengine_example_sourcesOnRequest
|
||||||
Plasma
|
Plasma
|
||||||
${KService_LIBRARIES}
|
KF5::KService
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS plasma_dataengine_example_sourcesOnRequest DESTINATION ${PLUGIN_INSTALL_DIR})
|
install(TARGETS plasma_dataengine_example_sourcesOnRequest DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||||
|
@ -8,7 +8,7 @@ set(plasma_example_kpart_shell_SRCS
|
|||||||
kde4_add_ui_files(plasma_example_kpart_shell_SRCS appletselector.ui)
|
kde4_add_ui_files(plasma_example_kpart_shell_SRCS appletselector.ui)
|
||||||
kde4_add_executable(plasma-example-kpart-shell ${plasma_example_kpart_shell_SRCS})
|
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 files ###############
|
||||||
install(TARGETS plasma-example-kpart-shell ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
install(TARGETS plasma-example-kpart-shell ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
||||||
|
@ -6,7 +6,7 @@ set(example_SRCS homefilesrunner.cpp)
|
|||||||
|
|
||||||
# Now make sure all files get to the right place
|
# Now make sure all files get to the right place
|
||||||
kde4_add_plugin(plasma_runner_example_homefiles ${example_SRCS})
|
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 the library and .desktop file
|
||||||
install(TARGETS plasma_runner_example_homefiles DESTINATION ${PLUGIN_INSTALL_DIR})
|
install(TARGETS plasma_runner_example_homefiles DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||||
|
Loading…
Reference in New Issue
Block a user