Fix cmake call
VERSION_GREATER_EQUAL is not available for cmake version we depend on
This commit is contained in:
parent
1fa8c08088
commit
913d6cca47
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue