mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 19:02:53 +00:00
36 lines
818 B
CMake
36 lines
818 B
CMake
project(weatherapplet)
|
|
|
|
include_directories(
|
|
# for plasmaweather_export.h
|
|
${kdeplasma-addons_BINARY_DIR}/libs/plasmaweather
|
|
)
|
|
|
|
set(weatherapplet_SRCS
|
|
weatherapplet.cpp)
|
|
|
|
kde4_add_plugin(plasma_applet_weather ${weatherapplet_SRCS})
|
|
target_link_libraries(plasma_applet_weather
|
|
KDE4::plasma
|
|
KDE4::kio
|
|
KDE4::kdeui
|
|
KDE4Workspace::weather_ion
|
|
${QT_QTDECLARATIVE_LIBRARY}
|
|
plasmaweather
|
|
)
|
|
|
|
install(
|
|
TARGETS plasma_applet_weather
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
|
)
|
|
install(
|
|
FILES plasma-applet-weather.desktop
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
|
)
|
|
install(
|
|
FILES wind-arrows.svgz
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/desktoptheme/default/weather/
|
|
)
|
|
install(
|
|
DIRECTORY package/
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/plasma/packages/org.kde.weather
|
|
)
|