2014-11-18 17:46:34 +00:00
|
|
|
########### next target ###############
|
|
|
|
|
2016-03-07 17:28:26 +00:00
|
|
|
set(SUPPORTED_KARCHIVE_MIMETYPES "application/x-archive;application/zip;application/x-bzip;application/x-gzip;application/x-zip-compressed;application/x-tar;application/x-compressed-tar;application/x-bzip-compressed-tar;application/x-gzip-compressed-tar;")
|
2014-11-18 17:46:34 +00:00
|
|
|
|
|
|
|
set(kerfuffle_karchive_SRCS karchiveplugin.cpp)
|
|
|
|
|
|
|
|
kde4_add_plugin(kerfuffle_karchive ${kerfuffle_karchive_SRCS})
|
|
|
|
|
2016-04-22 23:23:50 +00:00
|
|
|
target_link_libraries(kerfuffle_karchive ${KDE4_KDECORE_LIBS} kerfuffle )
|
2014-11-18 17:46:34 +00:00
|
|
|
|
|
|
|
configure_file(
|
2015-10-29 23:18:43 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/kerfuffle_karchive.desktop.cmake
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/kerfuffle_karchive.desktop
|
2014-11-18 17:46:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
2020-02-08 18:39:41 +00:00
|
|
|
install(TARGETS kerfuffle_karchive DESTINATION ${KDE4_PLUGIN_INSTALL_DIR} )
|
|
|
|
install( FILES kerfuffle_karchive.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
|
2014-11-18 17:46:34 +00:00
|
|
|
|
|
|
|
set(SUPPORTED_ARK_MIMETYPES "${SUPPORTED_ARK_MIMETYPES}${SUPPORTED_KARCHIVE_MIMETYPES}" PARENT_SCOPE)
|