generic: adjust plugin installation paths

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-03-06 14:59:19 +00:00
parent 05145bc776
commit c9cbc904e1
4 changed files with 14 additions and 9 deletions

View file

@ -36,6 +36,11 @@ if(QT_QTDESIGNER_FOUND)
target_link_libraries(kdewidgets ${KDE4_KIO_LIBS})
install(
TARGETS kdewidgets
DESTINATION ${PLUGIN_INSTALL_DIR}/kde4/plugins/designer
)
if(QT_QTWEBKIT_FOUND)
include_directories(${CMAKE_SOURCE_DIR}/kdewebkit)
@ -56,8 +61,8 @@ if(QT_QTDESIGNER_FOUND)
)
install(
TARGETS kdewidgets kdewebkitwidgets
DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer
TARGETS kdewebkitwidgets
DESTINATION ${PLUGIN_INSTALL_DIR}/kde4/plugins/designer
)
endif()
endif(QT_QTDESIGNER_FOUND)

View file

@ -38,7 +38,7 @@ if(JASPER_FOUND)
install(
TARGETS kimg_jp2
DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/imageformats
DESTINATION ${PLUGIN_INSTALL_DIR}/kde4/plugins/imageformats
)
install(
FILES
@ -62,7 +62,7 @@ if(OPENEXR_FOUND)
install(
TARGETS kimg_exr
DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/imageformats
DESTINATION ${PLUGIN_INSTALL_DIR}/kde4/plugins/imageformats
)
install(
FILES exr.desktop
@ -83,7 +83,7 @@ if(WEBP_FOUND)
install(
TARGETS kimg_webp
DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/imageformats
DESTINATION ${PLUGIN_INSTALL_DIR}/kde4/plugins/imageformats
)
install(
FILES
@ -118,7 +118,7 @@ foreach(plugin ${imgioplugins})
)
install(
TARGETS kimg_${plugin}
DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/imageformats
DESTINATION ${PLUGIN_INSTALL_DIR}/kde4/plugins/imageformats
)
endforeach()
@ -139,7 +139,7 @@ target_link_libraries(kimg_pic
install(
TARGETS kimg_pic
DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/imageformats
DESTINATION ${PLUGIN_INSTALL_DIR}/kde4/plugins/imageformats
)
########### install files ###############

View file

@ -6,7 +6,7 @@ include_directories(
${CMAKE_SOURCE_DIR}/kfile
)
if(QT_QTDESIGNER_FOUND )
if(QT_QTDESIGNER_FOUND)
############################################
# the forms module

View file

@ -23,7 +23,7 @@ set_target_properties(krossqtsplugin PROPERTIES
SOVERSION ${GENERIC_LIB_SOVERSION}
)
install(TARGETS krossqtsplugin DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/script)
install(TARGETS krossqtsplugin DESTINATION ${PLUGIN_INSTALL_DIR}/kde4/plugins/script)
########### next target ###############