2015-01-15 17:07:43 +00:00
|
|
|
project(weatherapplet)
|
|
|
|
|
2021-07-28 13:14:25 +03:00
|
|
|
include_directories(
|
|
|
|
# for plasmaweather_export.h
|
|
|
|
${kdeplasma-addons_BINARY_DIR}/libs/plasmaweather
|
|
|
|
)
|
|
|
|
|
2015-01-15 17:07:43 +00:00
|
|
|
set(weatherapplet_SRCS
|
|
|
|
weatherapplet.cpp)
|
|
|
|
|
|
|
|
kde4_add_plugin(plasma_applet_weather ${weatherapplet_SRCS})
|
|
|
|
target_link_libraries(plasma_applet_weather
|
2023-06-17 23:28:51 +03:00
|
|
|
KDE4::plasma
|
|
|
|
KDE4::kio
|
|
|
|
KDE4::kdeui
|
2023-06-18 03:49:28 +03:00
|
|
|
KDE4Workspace::weather_ion
|
2015-01-15 17:07:43 +00:00
|
|
|
${QT_QTDECLARATIVE_LIBRARY}
|
2021-07-17 00:46:41 +03:00
|
|
|
plasmaweather
|
|
|
|
)
|
2015-01-15 17:07:43 +00:00
|
|
|
|
2023-06-18 03:49:28 +03:00
|
|
|
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
|
|
|
|
)
|