From 7e7b6da8c66b7ecf1c21f330c31ffe7975259498 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Thu, 10 Aug 2017 01:31:37 +0200 Subject: Fix build with older CMake versions. VERSION_GREATER_EQUAL was added in CMake 3.7 and ECM still depends on CMake 2.8.12 --- kde-modules/KDECMakeSettings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kde-modules/KDECMakeSettings.cmake b/kde-modules/KDECMakeSettings.cmake index 9aa6b4f6..eecb9ea1 100644 --- a/kde-modules/KDECMakeSettings.cmake +++ b/kde-modules/KDECMakeSettings.cmake @@ -249,7 +249,7 @@ if(NOT KDE_SKIP_BUILD_SETTINGS) # even without installation. # We do the same under Unix to make it possible to run tests and apps without installing - if (WIN32 OR "${ECM_GLOBAL_FIND_VERSION}" VERSION_GREATER_EQUAL "5.38.0") + if (WIN32 OR "${ECM_GLOBAL_FIND_VERSION}" NOT VERSION_LESS "5.38.0") set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib") set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") -- cgit v1.2.1