aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Giboudeaux <christophe@krop.fr>2017-08-10 01:31:37 +0200
committerChristophe Giboudeaux <christophe@krop.fr>2017-08-10 01:31:40 +0200
commit7e7b6da8c66b7ecf1c21f330c31ffe7975259498 (patch)
tree7e47435468fcde8d552b72a32b1bfbd33c9ed81a
parentd8307c727034000681ae442ae07c3d232a1653d3 (diff)
downloadextra-cmake-modules-7e7b6da8c66b7ecf1c21f330c31ffe7975259498.tar.gz
extra-cmake-modules-7e7b6da8c66b7ecf1c21f330c31ffe7975259498.tar.bz2
Fix build with older CMake versions.
VERSION_GREATER_EQUAL was added in CMake 3.7 and ECM still depends on CMake 2.8.12
-rw-r--r--kde-modules/KDECMakeSettings.cmake2
1 files changed, 1 insertions, 1 deletions
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")