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:
pthom 2019-12-08 18:57:31 +01:00 committed by GitHub
parent 7dbdd2e6a5
commit 73c3457960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}"