diff options
| author | Wolfgang Bauer <[email protected]> | 2019-08-07 18:08:57 +0200 |
|---|---|---|
| committer | Wolfgang Bauer <[email protected]> | 2019-08-07 18:08:57 +0200 |
| commit | 68aee5ed51b55a3938ab71de4fa42c469cbbaf26 (patch) | |
| tree | ab27586a843d007bc2724bf2f3b3e159e94d21ee | |
| parent | 50c1fcce3777c6dbb8ba64824262da3edda98fc3 (diff) | |
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
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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}) |
