mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
generic: adjust plugin installation paths
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
05145bc776
commit
c9cbc904e1
4 changed files with 14 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -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 ###############
|
||||
|
|
|
@ -6,7 +6,7 @@ include_directories(
|
|||
${CMAKE_SOURCE_DIR}/kfile
|
||||
)
|
||||
|
||||
if(QT_QTDESIGNER_FOUND )
|
||||
if(QT_QTDESIGNER_FOUND)
|
||||
############################################
|
||||
# the forms module
|
||||
|
||||
|
|
|
@ -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 ###############
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue