Fix cmake call

VERSION_GREATER_EQUAL is not available for cmake version we depend on
This commit is contained in:
Bhushan Shah 2018-01-05 20:20:07 +05:30
parent 1fa8c08088
commit 913d6cca47

View file

@ -188,7 +188,7 @@ set(HAVE_INPUT FALSE)
set(HAVE_INPUT_1_9 FALSE) set(HAVE_INPUT_1_9 FALSE)
if (Libinput_FOUND AND UDEV_FOUND) if (Libinput_FOUND AND UDEV_FOUND)
set(HAVE_INPUT TRUE) 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) set(HAVE_INPUT_1_9 TRUE)
endif() endif()
endif() endif()