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.
22 lines
548 B
22 lines
548 B
plasma_install_package(package org.kde.plasma.icon) |
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.plasma.icon\") |
|
|
|
set(iconplugin_SRCS |
|
plugin/icon_p.cpp |
|
plugin/iconplugin.cpp |
|
) |
|
|
|
install(FILES plugin/qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/icon) |
|
|
|
add_library(iconplugin SHARED ${iconplugin_SRCS}) |
|
|
|
target_link_libraries(iconplugin |
|
Qt5::Core |
|
Qt5::Qml |
|
Qt5::Quick |
|
KF5::KIOCore # KFileItem |
|
KF5::KIOWidgets # KRun |
|
) |
|
|
|
install(TARGETS iconplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/icon)
|
|
|