2015-01-15 17:07:43 +00:00
|
|
|
project(plasma-wallpaper-weather)
|
|
|
|
|
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(weather_SRCS
|
|
|
|
weatherwallpaper.cpp
|
|
|
|
backgrounddelegate.cpp
|
|
|
|
backgroundlistmodel.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_plugin(plasma_wallpaper_weather ${weather_SRCS})
|
2023-06-17 23:28:51 +03:00
|
|
|
target_link_libraries(plasma_wallpaper_weather KDE4::plasma KDE4::kio KDE4::kfile plasmaweather)
|
2015-01-15 17:07:43 +00:00
|
|
|
|
2020-02-08 18:39:41 +00:00
|
|
|
install(TARGETS plasma_wallpaper_weather DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-wallpaper-weather.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|