aboutsummaryrefslogtreecommitdiff
path: root/kde-modules/KDEInstallDirs.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kde-modules/KDEInstallDirs.cmake')
-rw-r--r--kde-modules/KDEInstallDirs.cmake12
1 files changed, 10 insertions, 2 deletions
diff --git a/kde-modules/KDEInstallDirs.cmake b/kde-modules/KDEInstallDirs.cmake
index d739cf19..bba3a9c8 100644
--- a/kde-modules/KDEInstallDirs.cmake
+++ b/kde-modules/KDEInstallDirs.cmake
@@ -7,6 +7,10 @@
# Note that none of the variables defined by this module provide any
# information about the location of already-installed KDE software.
#
+# Also sets ``CMAKE_INSTALL_PREFIX`` to the installation prefix of ECM,
+# unless that variable has been already explicitly set by something else
+# (since 5.61 and with CMake >= 3.7).
+#
# Inclusion of this module defines the following variables:
#
# ``KDE_INSTALL_<dir>``
@@ -573,8 +577,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"