From 913d6cca47fb377bfb54f3e6c127740d53b915b9 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Fri, 5 Jan 2018 20:20:07 +0530 Subject: [PATCH] Fix cmake call VERSION_GREATER_EQUAL is not available for cmake version we depend on --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b41bd6c65..c3451ba8fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -188,7 +188,7 @@ set(HAVE_INPUT FALSE) set(HAVE_INPUT_1_9 FALSE) if (Libinput_FOUND AND UDEV_FOUND) set(HAVE_INPUT TRUE) - if(Libinput_VERSION VERSION_GREATER_EQUAL "1.9.0") + if(${Libinput_VERSION} VERSION_GREATER "1.9.0" OR ${Libinput_VERSION} VERSION_EQUAL "1.9.0") set(HAVE_INPUT_1_9 TRUE) endif() endif()