3
SET (ionlib_SRCS ions/ion.cpp ions/weather_formula.cpp)
4
kde4_add_library (weather_ion SHARED ${ionlib_SRCS})
5
TARGET_LINK_LIBRARIES (weather_ion ${KDE4_KIO_LIBS} plasma)
6
set_target_properties(weather_ion PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
7
INSTALL (TARGETS weather_ion DESTINATION ${LIB_INSTALL_DIR})
9
SET(weather_SRCS weatherengine.cpp)
10
kde4_add_plugin(plasma_engine_weather ${weather_SRCS})
11
TARGET_LINK_LIBRARIES (plasma_engine_weather ${KDE4_KIO_LIBS} plasma weather_ion)
12
INSTALL (TARGETS plasma_engine_weather DESTINATION ${PLUGIN_INSTALL_DIR})
13
INSTALL (FILES plasma-engine-weather.desktop DESTINATION ${SERVICES_INSTALL_DIR})