kde-workspace/plasma/wallpapers/image/CMakeLists.txt
Ivailo Monev efbde9e504 plasma: organize sub-directories
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-24 22:48:47 +02:00

23 lines
790 B
CMake

project(plasma-wallpaper-image)
set(image_SRCS
image.cpp
backgrounddelegate.cpp
backgroundlistmodel.cpp
removebuttonmanager.cpp
removebutton.cpp
itemsview.cpp
imageconfig.ui
slideshowconfig.ui
)
set(ksmserver_xml ${CMAKE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml)
qt4_add_dbus_interface(image_SRCS ${ksmserver_xml} ksmserver_interface)
kde4_add_plugin(plasma_wallpaper_image ${image_SRCS})
target_link_libraries(plasma_wallpaper_image ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} ${KDE4_THREADWEAVER_LIBRARY})
install(TARGETS plasma_wallpaper_image DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES plasma-wallpaper-image.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES wallpaper.knsrc DESTINATION ${CONFIG_INSTALL_DIR})