mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 21:56:36 +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)
|
# Check for XInput (modern HID input)
|
||||||
if (NOT X11_Xi_INCLUDE_PATH)
|
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()
|
endif()
|
||||||
|
|
||||||
list(APPEND glfw_INCLUDE_DIRS "${X11_Xrandr_INCLUDE_PATH}"
|
list(APPEND glfw_INCLUDE_DIRS "${X11_Xrandr_INCLUDE_PATH}"
|
||||||
|
Loading…
Reference in New Issue
Block a user