1
0
Fork 0

If DBus is not found, disable event-input on Linux.

This commit is contained in:
James Turner 2011-09-21 18:00:57 +01:00
parent 5a17ccf9eb
commit 3a75732488

View file

@ -134,6 +134,11 @@ if(EVENT_INPUT)
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
find_package(DBus)
if(NOT DBUS_FOUND)
message(WARNING "DBus not found, event input will be disabled")
set(EVENT_INPUT 0)
endif()
else()
message(WARNING "event input is not supported on this platform yet")
endif()