Use new logging category directory when ECM>=5.59

This commit is contained in:
Laurent Montel 2019-06-13 13:31:51 +02:00
parent 1a11abc821
commit 6df7b2e863

View file

@ -9,5 +9,9 @@ install(TARGETS kwin5_update_default_rules DESTINATION ${LIB_INSTALL_DIR}/kconf_
########### install files ###############
install( FILES org_kde_kwin.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
if (${ECM_VERSION} STRGREATER "5.58.0")
install(FILES org_kde_kwin.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
else()
install(FILES org_kde_kwin.categories DESTINATION ${KDE_INSTALL_CONFDIR})
endif()