From 68aee5ed51b55a3938ab71de4fa42c469cbbaf26 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer Date: Wed, 7 Aug 2019 18:08:57 +0200 Subject: Fix build with cmake < 3.7 `VERSION_GREATER_EQUAL` was introduced in cmake 3.7, but the specified minimum version is 3.0. So use `NOT VERSION_LESS` instead to still support older cmake versions too. Differential Revision: https://phabricator.kde.org/D22984 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 302f9666a..838ca1445 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -150,7 +150,7 @@ configure_file(org.kde.dolphin.FileManager1.service.in install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.dolphin.FileManager1.service DESTINATION ${DBUS_SERVICES_INSTALL_DIR}) -if (ECM_VERSION VERSION_GREATER_EQUAL "5.59.0") +if (NOT ECM_VERSION VERSION_LESS "5.59.0") install(FILES dolphin.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}) else() install(FILES dolphin.categories DESTINATION ${KDE_INSTALL_CONFDIR}) -- cgit v1.3