2015-01-15 17:07:43 +00:00
|
|
|
project(plasma-wallpaper-virus)
|
|
|
|
|
|
|
|
set(virus_SRCS
|
|
|
|
virus.cpp
|
|
|
|
backgrounddelegate.cpp
|
|
|
|
backgroundlistmodel.cpp
|
|
|
|
alife.cpp
|
|
|
|
itemsview.cpp
|
|
|
|
)
|
|
|
|
|
2022-10-02 17:47:40 +03:00
|
|
|
if(KDE4WORKSPACE_FOUND)
|
|
|
|
add_definitions(-DHAVE_KWORKSPACE)
|
|
|
|
set(ksmserver_xml ${KDE4_DBUS_INTERFACES_INSTALL_DIR}/org.kde.KSMServerInterface.xml)
|
|
|
|
qt4_add_dbus_interface(virus_SRCS ${ksmserver_xml} ksmserver_interface)
|
|
|
|
endif()
|
2015-01-15 17:07:43 +00:00
|
|
|
|
|
|
|
kde4_add_plugin(plasma_wallpaper_virus ${virus_SRCS})
|
2022-10-02 17:47:40 +03:00
|
|
|
target_link_libraries(plasma_wallpaper_virus
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${KDE4_KIO_LIBS}
|
|
|
|
${KDE4_KFILE_LIBS}
|
|
|
|
)
|
2015-01-15 17:07:43 +00:00
|
|
|
|
2022-10-02 17:47:40 +03:00
|
|
|
install(
|
|
|
|
TARGETS plasma_wallpaper_virus
|
|
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
|
|
|
)
|
|
|
|
install(
|
|
|
|
FILES plasma-wallpaper-virus.desktop
|
|
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
|
|
|
)
|