2014-11-15 03:32:08 +02:00
|
|
|
|
|
|
|
set(plasma_kpartscripting_SRCS
|
|
|
|
scripting/rect.cpp
|
|
|
|
scripting/scriptengine.cpp
|
|
|
|
scripting/widget.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(plasma_kpart_SRCS
|
|
|
|
${plasma_kpartscripting_SRCS}
|
|
|
|
plasmakpartcorona.cpp
|
|
|
|
plasmakpartview.cpp
|
|
|
|
plasmakpart.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_plugin(plasma-kpart ${plasma_kpart_SRCS})
|
|
|
|
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries(plasma-kpart ${QT_QTSCRIPT_LIBRARY} KDE4::plasma KDE4::kio ${X11_LIBRARIES} KDE4::kfile KDE4::kparts )
|
2014-11-15 03:32:08 +02:00
|
|
|
|
2020-02-08 19:29:32 +00:00
|
|
|
install(TARGETS plasma-kpart DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-kpart.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
2014-11-15 03:32:08 +02:00
|
|
|
|