2015-01-15 17:07:43 +00:00
|
|
|
project(plasma-news)
|
|
|
|
|
2015-09-02 02:13:50 +03:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
2015-01-15 17:07:43 +00:00
|
|
|
|
|
|
|
set(news_SRCS
|
|
|
|
news.cpp
|
2015-09-02 02:13:50 +03:00
|
|
|
config.ui
|
|
|
|
feedsConfig.ui
|
2015-01-15 17:07:43 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_plugin(plasma_applet_news ${news_SRCS})
|
2015-09-02 02:13:50 +03:00
|
|
|
target_link_libraries(plasma_applet_news
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${KDE4_KIO_LIBS}
|
|
|
|
${QT_QTWEBKIT_LIBRARY}
|
|
|
|
)
|
2015-01-15 17:07:43 +00:00
|
|
|
|
|
|
|
install(TARGETS plasma_applet_news DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-applet-news.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
install(FILES news.css DESTINATION ${DATA_INSTALL_DIR}/desktoptheme/default/stylesheets/)
|