Unverified Commit b6048932 authored by Luca Beltrame's avatar Luca Beltrame
Browse files

Use the new logging categories directory with ECM >= 5.59.0

parent 2e33fde3
......@@ -134,7 +134,12 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kmahjongglib_version.h
DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KF5KMahjongg
COMPONENT Devel
)
install( FILES libkmahjongg.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
if (${ECM_VERSION} STRGREATER "5.58.0")
install( FILES libkmahjongg.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} )
else()
install( FILES libkmahjongg.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
endif()
########### Display Summary ###############
feature_summary(WHAT ALL
......
Markdown is supported
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