Commit 5622e069 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Install bodypartformatter plugin in pim<version>

parent fd535cc0
Pipeline #184393 passed with stage
in 16 minutes and 55 seconds
......@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-3-Clause
set( GNUPGHOME ${CMAKE_BINARY_DIR}/plugins/messageviewer/bodypartformatter/autotests/gnupg_home )
set( GNUPGHOME ${CMAKE_BINARY_DIR}/plugins/pim${QT_MAJOR_VERSION}/messageviewer/bodypartformatter/autotests/gnupg_home )
macro (ADD_GPG_CRYPTO_TEST _target _testname)
if (UNIX)
......
......@@ -48,7 +48,7 @@ target_link_libraries(messageviewer_bodypartformatter_text_calendar
Qt${QT_MAJOR_VERSION}::DBus
)
install(TARGETS messageviewer_bodypartformatter_text_calendar DESTINATION ${KDE_INSTALL_PLUGINDIR}/messageviewer/bodypartformatter)
install(TARGETS messageviewer_bodypartformatter_text_calendar DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim${QT_MAJOR_VERSION}/messageviewer/bodypartformatter)
if (BUILD_TESTING)
add_subdirectory(tests)
endif()
......@@ -51,4 +51,4 @@ target_link_libraries(messageviewer_bodypartformatter_application_gnupgwks
${TEMPLATES_LIB}
Gpgmepp
)
install(TARGETS messageviewer_bodypartformatter_application_gnupgwks DESTINATION ${KDE_INSTALL_PLUGINDIR}/messageviewer/bodypartformatter)
install(TARGETS messageviewer_bodypartformatter_application_gnupgwks DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim${QT_MAJOR_VERSION}/messageviewer/bodypartformatter)
......@@ -15,4 +15,4 @@ target_link_libraries(messageviewer_bodypartformatter_text_highlighter
${TEMPLATES_LIB}
)
install(TARGETS messageviewer_bodypartformatter_text_highlighter DESTINATION ${KDE_INSTALL_PLUGINDIR}/messageviewer/bodypartformatter)
install(TARGETS messageviewer_bodypartformatter_text_highlighter DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim${QT_MAJOR_VERSION}/messageviewer/bodypartformatter)
......@@ -39,4 +39,4 @@ target_link_libraries(messageviewer_bodypartformatter_semantic
KPim::Itinerary
KPim::PkPass
)
install(TARGETS messageviewer_bodypartformatter_semantic DESTINATION ${KDE_INSTALL_PLUGINDIR}/messageviewer/bodypartformatter)
install(TARGETS messageviewer_bodypartformatter_semantic DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim${QT_MAJOR_VERSION}/messageviewer/bodypartformatter)
......@@ -24,4 +24,4 @@ target_link_libraries(messageviewer_bodypartformatter_text_markdown
${TEMPLATES_LIB}
)
install(TARGETS messageviewer_bodypartformatter_text_markdown DESTINATION ${KDE_INSTALL_PLUGINDIR}/messageviewer/bodypartformatter)
install(TARGETS messageviewer_bodypartformatter_text_markdown DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim${QT_MAJOR_VERSION}/messageviewer/bodypartformatter)
......@@ -24,4 +24,4 @@ target_link_libraries(messageviewer_bodypartformatter_application_mstnef
KF5::I18n
${TEMPLATES_LIB}
)
install(TARGETS messageviewer_bodypartformatter_application_mstnef DESTINATION ${KDE_INSTALL_PLUGINDIR}/messageviewer/bodypartformatter)
install(TARGETS messageviewer_bodypartformatter_application_mstnef DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim${QT_MAJOR_VERSION}/messageviewer/bodypartformatter)
......@@ -20,5 +20,5 @@ target_link_libraries(messageviewer_bodypartformatter_pkpass
${TEMPLATES_LIB}
KPim::PkPass
)
install(TARGETS messageviewer_bodypartformatter_pkpass DESTINATION ${KDE_INSTALL_PLUGINDIR}/messageviewer/bodypartformatter)
install(TARGETS messageviewer_bodypartformatter_pkpass DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim${QT_MAJOR_VERSION}/messageviewer/bodypartformatter)
......@@ -12,4 +12,4 @@ ecm_qt_declare_logging_category(messageviewer_bodypartformatter_text_vcard HEADE
target_link_libraries(messageviewer_bodypartformatter_text_vcard KF5::Contacts KF5::PimCommonAkonadi KF5::MessageViewer KF5::IconThemes KF5::JobWidgets KF5::I18n)
install(TARGETS messageviewer_bodypartformatter_text_vcard DESTINATION ${KDE_INSTALL_PLUGINDIR}/messageviewer/bodypartformatter)
install(TARGETS messageviewer_bodypartformatter_text_vcard DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim${QT_MAJOR_VERSION}/messageviewer/bodypartformatter)
Supports Markdown
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