mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 21:30:57 +00:00
CMakeLists.txt: add hint when libxi-dev is missing
This is just a helper message when "X11_Xi_INCLUDE_PATH" is not found, because googling does not help very much to spot the missing package.
This commit is contained in:
parent
7dbdd2e6a5
commit
73c3457960
@ -227,7 +227,7 @@ if (_GLFW_X11)
|
||||
|
||||
# Check for XInput (modern HID input)
|
||||
if (NOT X11_Xi_INCLUDE_PATH)
|
||||
message(FATAL_ERROR "The XInput headers were not found")
|
||||
message(FATAL_ERROR "The XInput headers were not found (hint: install libxi-dev)")
|
||||
endif()
|
||||
|
||||
list(APPEND glfw_INCLUDE_DIRS "${X11_Xrandr_INCLUDE_PATH}"
|
||||
|
Loading…
Reference in New Issue
Block a user