kde-extraapps/kdeplasma-addons/wallpapers/weather/CMakeLists.txt
Ivailo Monev 4433e55536 generic: generate export headers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-28 14:58:10 +03:00

18 lines
593 B
CMake

project(plasma-wallpaper-weather)
include_directories(
# for plasmaweather_export.h
${kdeplasma-addons_BINARY_DIR}/libs/plasmaweather
)
set(weather_SRCS
weatherwallpaper.cpp
backgrounddelegate.cpp
backgroundlistmodel.cpp
)
kde4_add_plugin(plasma_wallpaper_weather ${weather_SRCS})
target_link_libraries(plasma_wallpaper_weather ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} plasmaweather)
install(TARGETS plasma_wallpaper_weather DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
install(FILES plasma-wallpaper-weather.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})