FreeBSD: fix build when libudev is found
This commit is contained in:
parent
2c8aad12ba
commit
e26df90ea4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue