Skip to content

Commit

Permalink
Install kio slaves consistently to kf5/kio subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
kossebau committed Jan 7, 2019
1 parent bae70da commit 04d5b2a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 16 deletions.
15 changes: 2 additions & 13 deletions about/CMakeLists.txt
@@ -1,20 +1,9 @@




########### next target ###############

set(kio_about_PART_SRCS kio_about.cpp )


add_library(kio_about MODULE ${kio_about_PART_SRCS})


target_link_libraries(kio_about KF5::KIOCore Qt5::Network)
set_target_properties(kio_about PROPERTIES OUTPUT_NAME "about")

install(TARGETS kio_about DESTINATION ${KDE_INSTALL_PLUGINDIR} )


########### install files ###############

install(TARGETS kio_about DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kio )
install( FILES about.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
2 changes: 1 addition & 1 deletion about/about.protocol
@@ -1,5 +1,5 @@
[Protocol]
exec=kio_about
exec=kf5/kio/about
protocol=about
input=none
output=filesystem
Expand Down
3 changes: 2 additions & 1 deletion activities/CMakeLists.txt
Expand Up @@ -35,10 +35,11 @@ target_link_libraries (
KF5::I18n
Qt5::Network
)
set_target_properties(kio_activities PROPERTIES OUTPUT_NAME "activities")

install (
TARGETS kio_activities
DESTINATION ${KDE_INSTALL_PLUGINDIR}
DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kio
)

########### install files ###############
Expand Down
2 changes: 1 addition & 1 deletion activities/activities.protocol
@@ -1,5 +1,5 @@
[Protocol]
exec=kio_activities
exec=kf5/kio/activities
protocol=activities
input=none
output=filesystem
Expand Down

0 comments on commit 04d5b2a

Please sign in to comment.