┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2019-06-13 07:07:25 +0200
committerLaurent Montel <[email protected]>2019-06-13 07:07:35 +0200
commitc337bfeeea02c76e42742b118e13cea087b17b26 (patch)
treed709c73ac11a5c72df3342afac0a2579cb79624a /CMakeLists.txt
parent9f65f1de47510b92b2d153346f1c414c9fadac9f (diff)
Install in new logging directory when we use kf5 5.59.0
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2feef8e28..7e66ade93 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -150,7 +150,11 @@ configure_file(org.kde.dolphin.FileManager1.service.in
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.dolphin.FileManager1.service
DESTINATION ${DBUS_SERVICES_INSTALL_DIR})
-install( FILES dolphin.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
+if (${ECM_VERSION} STRGREATER "5.58.0")
+ install(FILES dolphin.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
+else()
+ install(FILES dolphin.categories DESTINATION ${KDE_INSTALL_CONFDIR})
+endif()
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)