Fix compilation with cmake < 3.5

parent dc3340cc
Pipeline #6084 passed with stage
in 25 minutes and 53 seconds
......@@ -146,10 +146,10 @@ ki18n_install(po)
include(GNUInstallDirs)
install(FILES AUTHORS COPYING README.md DESTINATION ${CMAKE_INSTALL_DOCDIR})
if (ECM_VERSION VERSION_GREATER_EQUAL "5.59.0")
install(FILES kdenlive.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
else()
if (ECM_VERSION VERSION_LESS "5.59.0")
install(FILES kdenlive.categories DESTINATION ${KDE_INSTALL_CONFDIR})
else()
install(FILES kdenlive.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
endif()
############################
......
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