You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
828 B

add_definitions(-DTRANSLATION_DOMAIN=\"plasma_engine_weather\")
add_definitions(
-DQT_USE_QSTRINGBUILDER
-DQT_NO_CAST_TO_ASCII
-DQT_NO_CAST_FROM_ASCII
-DQT_NO_CAST_FROM_BYTEARRAY
)
add_subdirectory(ions)
set(weather_SRCS weatherengine.cpp)
ecm_qt_declare_logging_category(weather_SRCS
HEADER weatherenginedebug.h
IDENTIFIER WEATHER
CATEGORY_NAME kde.dataengine.weather
DEFAULT_SEVERITY Info
)
kcoreaddons_add_plugin(plasma_engine_weather SOURCES ${weather_SRCS} INSTALL_NAMESPACE plasma/dataengine)
target_link_libraries (plasma_engine_weather
KF5::KIOCore
KF5::Solid
KF5::Plasma
Qt::Network
weather_ion)
kcoreaddons_desktop_to_json(plasma_engine_weather plasma-dataengine-weather.desktop SERVICE_TYPES plasma-dataengine.desktop)