Warning, /plasma/kdeplasma-addons/applets/weather/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.plasma.weather\")
0002 
0003 kcoreaddons_add_plugin(org.kde.plasma.weather SOURCES weatherapplet.cpp INSTALL_NAMESPACE "plasma/applets")
0004 
0005 target_link_libraries(org.kde.plasma.weather
0006     Plasma::Plasma
0007     Plasma::Plasma5Support
0008     KF6::UnitConversion
0009     KF6::I18n
0010 )
0011 
0012 install(FILES wind-arrows.svgz DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/default/weather/)
0013 plasma_install_package(package org.kde.plasma.weather)
0014 
0015 ecm_add_qml_module(weatherplugin URI org.kde.plasma.private.weather)
0016 
0017 target_sources(weatherplugin PRIVATE
0018     plugin/plugin.cpp
0019     plugin/util.cpp
0020     plugin/abstractunitlistmodel.cpp
0021     plugin/locationlistmodel.cpp
0022 )
0023 target_link_libraries(weatherplugin PRIVATE
0024     Plasma::Plasma
0025     Plasma::Plasma5Support
0026     KF6::UnitConversion
0027     KF6::I18n
0028     Qt::Qml
0029 )
0030 ecm_finalize_qml_module(weatherplugin)