From 884381e9800ef6e74f37648362493c94b131b151 Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Tue, 24 Nov 2020 22:24:40 +0100 Subject: Define install dir variable for file templates Just like the app templates the file templates have a specific install location. Also the KTEMPLATESDIR is only used as a fallback, because it suggests that all templates are in that dir, which is not true. --- kde-modules/KDEInstallDirs.cmake | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'kde-modules/KDEInstallDirs.cmake') diff --git a/kde-modules/KDEInstallDirs.cmake b/kde-modules/KDEInstallDirs.cmake index d739cf19..de4367bf 100644 --- a/kde-modules/KDEInstallDirs.cmake +++ b/kde-modules/KDEInstallDirs.cmake @@ -573,8 +573,12 @@ _define_relative(KNOTIFY5RCDIR DATAROOTDIR "knotifications5" _define_relative(KXMLGUI5DIR DATAROOTDIR "kxmlgui5" "kxmlgui .rc files" KXMLGUI_INSTALL_DIR) -_define_relative(KTEMPLATESDIR DATAROOTDIR "kdevappwizard/templates" - "Kapptemplate and Kdevelop templates") +_define_relative(KAPPTEMPLATESDIR DATAROOTDIR "kdevappwizard/templates" + "KAppTemplate and KDevelop templates" + KDE_INSTALL_KTEMPLATESDIR + ) +_define_relative(KFILETEMPLATESDIR DATAROOTDIR "kdevfiletemplates/templates" + "KDevelop file templates") _define_relative(LOGGINGCATEGORIESDIR DATAROOTDIR "qlogging-categories5" "Qt Logging categories files") _define_relative(JARDIR "" "jar" -- cgit v1.2.1