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 KF5::Plasma 0007 KF5::UnitConversion 0008 KF5::I18n 0009 ) 0010 0011 install(FILES wind-arrows.svgz DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/default/weather/) 0012 0013 plasma_install_package(package org.kde.plasma.weather) 0014 0015 0016 set(weather_SRCS 0017 plugin/plugin.cpp 0018 plugin/util.cpp 0019 plugin/abstractunitlistmodel.cpp 0020 plugin/locationlistmodel.cpp 0021 ) 0022 0023 add_library(weatherplugin SHARED ${weather_SRCS}) 0024 0025 target_link_libraries(weatherplugin 0026 KF5::Plasma 0027 KF5::UnitConversion 0028 KF5::I18n 0029 Qt::Qml 0030 ) 0031 0032 install(TARGETS weatherplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/weather) 0033 install(FILES plugin/qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/weather)