1
0
Fork 0

FreeBSD: fix build when libudev is found

This commit is contained in:
Ganael Laplanche 2017-07-06 23:02:52 +02:00
parent 2c8aad12ba
commit e26df90ea4

View file

@ -232,7 +232,7 @@ include( ConfigureMsvc3rdParty )
if(EVENT_INPUT)
if(APPLE)
add_definitions(-DWITH_EVENTINPUT)
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux|FreeBSD")
if(NOT UDEV_FOUND)
message(WARNING "UDev not found, event input is disabled!")
set(EVENT_INPUT 0)