Install desktop file for KIO plugin

This commit is contained in:
Martchus 2017-02-25 18:55:42 +01:00
parent ee9fa0998e
commit a388d4fc37
1 changed files with 8 additions and 2 deletions

View File

@ -6,10 +6,10 @@ set(META_PROJECT_TYPE qtplugin)
# add project files
set(HEADER_FILES
syncthingfileitemaction.h
${META_PROJECT_NAME}.h
)
set(SRC_FILES
syncthingfileitemaction.cpp
${META_PROJECT_NAME}.cpp
)
# find c++utilities
@ -41,3 +41,9 @@ list(REMOVE_ITEM PRIVATE_LIBRARIES KF5::KIO)
list(APPEND PRIVATE_LIBRARIES KF5::KIOCore KF5::KIOFileWidgets KF5::KIOWidgets KF5::KIONTLM)
include(LibraryTarget)
include(ConfigHeader)
install(
FILES ${META_PROJECT_NAME}.desktop
DESTINATION "share/kservices5"
COMPONENT desktop
)