kde-extraapps/kdeplasma-addons/applets/weather/CMakeLists.txt
Ivailo Monev 59190d3194 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:12:24 +00:00

19 lines
729 B
CMake

project(weatherapplet)
set(weatherapplet_SRCS
weatherapplet.cpp)
kde4_add_plugin(plasma_applet_weather ${weatherapplet_SRCS})
target_link_libraries(plasma_applet_weather
${KDE4_PLASMA_LIBS}
${KDE4_KIO_LIBS}
${KDE4_KDEUI_LIBS}
plasmaweather
${KDE4WORKSPACE_WEATHERION_LIBRARY}
${QT_QTDECLARATIVE_LIBRARY}
${KDE4_KUNITCONVERSION_LIBS})
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)