Commit c5bcb5b2 authored by Michael Reeves's avatar Michael Reeves

use kde path for install

parent 1ee5304f
......@@ -5,5 +5,5 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS KIO
kcoreaddons_add_plugin(kdiff3fileitemaction SOURCES kdiff3fileitemaction.cpp INSTALL_NAMESPACE "kf5/kfileitemaction")
target_link_libraries(kdiff3fileitemaction KF5::I18n KF5::WidgetsAddons KF5::KIOWidgets)
install(TARGETS kdiff3fileitemaction DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES kdiff3fileitemaction.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS kdiff3fileitemaction DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES kdiff3fileitemaction.desktop DESTINATION ${KDE_INSTALL_PLUGINDIR})
......@@ -9,8 +9,8 @@ add_library(kdiff3plugin MODULE ${kdiff3plugin_SRCS})
target_link_libraries(kdiff3plugin KF5::KDELibs4Support KF5::Parts konq )
install(TARGETS kdiff3plugin DESTINATION ${PLUGIN_INSTALL_DIR} )
install(TARGETS kdiff3plugin DESTINATION ${KDE_INSTALL_PLUGINDIR} )
########## install files ###############
install( FILES kdiff3_plugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kdiff3_plugin.desktop DESTINATION ${KDE_INSTALL_PLUGINDIR} )
......@@ -27,7 +27,7 @@ set_target_properties(kdiff3part PROPERTIES DEFINE_SYMBOL KDIFF3_PART)
target_link_libraries(kdiff3part ${KDiff3_LIBRARIES} KF5::Parts)
install(TARGETS kdiff3part DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/parts )
install(TARGETS kdiff3part DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/parts )
########### kdiff3 executable ###############
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Parts WidgetsAddons Config)
......@@ -47,7 +47,7 @@ install(TARGETS kdiff3 ${INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
install( FILES kdiff3part.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kdiff3part.desktop DESTINATION ${KDE_INSTALL_PLUGINDIR} )
install( FILES kdiff3_part.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdiff3part )
install( FILES kdiff3_shell.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdiff3 )
install( PROGRAMS kdiff3.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment