Warning, /plasma/plasma-workspace/dataengines/weather/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_definitions(-DTRANSLATION_DOMAIN=\"plasma_engine_weather\") 0002 remove_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x50f02) 0003 0004 add_definitions( 0005 -DQT_USE_QSTRINGBUILDER 0006 -DQT_NO_CAST_TO_ASCII 0007 -DQT_NO_CAST_FROM_ASCII 0008 -DQT_NO_CAST_FROM_BYTEARRAY 0009 ) 0010 0011 add_subdirectory(ions) 0012 0013 set(weather_SRCS weatherengine.cpp weatherengine.h) 0014 ecm_qt_declare_logging_category(weather_SRCS 0015 HEADER weatherenginedebug.h 0016 IDENTIFIER WEATHER 0017 CATEGORY_NAME kde.dataengine.weather 0018 DEFAULT_SEVERITY Info 0019 DESCRIPTION "DataEngine weather engine" 0020 EXPORT PLASMAWORKSPACE 0021 ) 0022 0023 kcoreaddons_add_plugin(plasma_engine_weather SOURCES ${weather_SRCS} INSTALL_NAMESPACE plasma5support/dataengine) 0024 target_compile_definitions(plasma_engine_weather PRIVATE -DQT_DISABLE_DEPRECATED_BEFORE=0x050e00) # needed for QNetworkConfigurationManager 0025 0026 target_link_libraries (plasma_engine_weather 0027 KF6::KIOCore 0028 KF6::Solid 0029 Plasma::Plasma 0030 Plasma::Plasma5Support 0031 KF6::Service 0032 Qt::Network 0033 weather_ion)