Fix for "Build on FreeBSD fails: linux/input.h not found" (#584)
This commit is contained in:
parent
79e26cf19a
commit
496c7dd84b
@ -267,6 +267,13 @@ if (UNIX)
|
||||
|
||||
option (OPTION_ALLOW_GTK_PLUGIN "Allow to use libdecor's GTK plugin" ON)
|
||||
|
||||
if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
CHECK_INCLUDE_FILE (linux/input.h LINUX_INPUT_H)
|
||||
if (NOT LINUX_INPUT_H)
|
||||
message (FATAL_ERROR "Required include file 'linux/input.h' is missing. Please install package 'evdev-proto'")
|
||||
endif (NOT LINUX_INPUT_H)
|
||||
endif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
|
||||
endif (OPTION_USE_WAYLAND)
|
||||
endif (UNIX)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user