2014-11-13 19:30:51 +02:00
|
|
|
project(plasma-wallpaper-image)
|
|
|
|
|
|
|
|
set(image_SRCS
|
|
|
|
image.cpp
|
|
|
|
backgrounddelegate.cpp
|
|
|
|
backgroundlistmodel.cpp
|
|
|
|
removebuttonmanager.cpp
|
|
|
|
removebutton.cpp
|
|
|
|
itemsview.cpp
|
|
|
|
)
|
|
|
|
|
2015-10-31 13:44:54 +02:00
|
|
|
set(ksmserver_xml ${CMAKE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml)
|
2014-11-13 19:30:51 +02:00
|
|
|
qt4_add_dbus_interface(image_SRCS ${ksmserver_xml} ksmserver_interface)
|
|
|
|
|
|
|
|
kde4_add_plugin(plasma_wallpaper_image ${image_SRCS})
|
2016-04-07 10:59:36 +00:00
|
|
|
target_link_libraries(plasma_wallpaper_image ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2020-02-08 19:29:32 +00:00
|
|
|
install(TARGETS plasma_wallpaper_image DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-wallpaper-image.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2020-02-08 19:29:32 +00:00
|
|
|
install(FILES wallpaper.knsrc DESTINATION ${KDE4_CONFIG_INSTALL_DIR})
|