2018-02-26 07:11:54 +01:00
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.plasma.%{APPNAMELC}\")
|
|
|
|
|
2017-05-19 01:46:11 +02:00
|
|
|
set(%{APPNAMELC}plugin_SRCS
|
|
|
|
%{APPNAMELC}plugin.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(%{APPNAMELC}plugin SHARED ${%{APPNAMELC}plugin_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(%{APPNAMELC}plugin
|
2018-02-26 07:11:54 +01:00
|
|
|
KF5::I18n
|
2017-05-19 01:46:11 +02:00
|
|
|
Qt5::Gui
|
|
|
|
Qt5::Qml
|
|
|
|
)
|
|
|
|
install(TARGETS %{APPNAMELC}plugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/%{APPNAMELC})
|
|
|
|
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/%{APPNAMELC})
|