Commit 1cea35bd authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use ktexttemplate_adjust_plugin_name

parent 2f2f818f
Pipeline #194420 passed with stage
in 7 minutes and 1 second
......@@ -14,19 +14,25 @@ target_sources(kcalendar_grantlee_plugin PRIVATE
kcalendargrantleeplugin.h
)
kpim_grantlee_adjust_plugin_name(kcalendar_grantlee_plugin)
target_link_libraries(kcalendar_grantlee_plugin
${TEMPLATES_LIB}
KF5::IconThemes
KF5CalendarUtils
)
if (QT_MAJOR_VERSION STREQUAL "5")
install(TARGETS kcalendar_grantlee_plugin
LIBRARY DESTINATION ${KDE_INSTALL_LIBDIR}/grantlee/${Grantlee5_VERSION_MAJOR}.${Grantlee5_VERSION_MINOR}/
)
kpim_grantlee_adjust_plugin_name(kcalendar_grantlee_plugin)
target_link_libraries(kcalendar_grantlee_plugin
${TEMPLATES_LIB}
KF5::IconThemes
KF5CalendarUtils
)
install(TARGETS kcalendar_grantlee_plugin
LIBRARY DESTINATION ${KDE_INSTALL_LIBDIR}/grantlee/${Grantlee5_VERSION_MAJOR}.${Grantlee5_VERSION_MINOR}/
)
else()
install(TARGETS kcalendar_grantlee_plugin
LIBRARY DESTINATION ${KDE_INSTALL_LIBDIR}/KTextTemplate/${KTextTemplate_MAJOR_MINOR_VERSION_STRING}/
)
ktexttemplate_adjust_plugin_name(kcalendar_grantlee_plugin)
target_link_libraries(kcalendar_grantlee_plugin
${TEMPLATES_LIB}
KF5::IconThemes
KF5CalendarUtils
)
install(TARGETS kcalendar_grantlee_plugin
LIBRARY DESTINATION ${KDE_INSTALL_LIBDIR}/KTextTemplate/${KF6TextTemplate_VERSION_MAJOR}.${KF6TextTemplate_VERSION_MINOR}/
)
endif()
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