mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
X11: Fix CMake check for XInput headers
The X11_Xinput_* variables have been removed in recent CMake, leaving only the X11_Xi_* set. Related to #1480.
This commit is contained in:
parent
0ccb690853
commit
ceb16cb5f1
@ -222,7 +222,7 @@ if (_GLFW_X11)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Check for XInput (modern HID input)
|
# Check for XInput (modern HID input)
|
||||||
if (NOT X11_Xinput_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")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@ -230,7 +230,7 @@ if (_GLFW_X11)
|
|||||||
"${X11_Xinerama_INCLUDE_PATH}"
|
"${X11_Xinerama_INCLUDE_PATH}"
|
||||||
"${X11_Xkb_INCLUDE_PATH}"
|
"${X11_Xkb_INCLUDE_PATH}"
|
||||||
"${X11_Xcursor_INCLUDE_PATH}"
|
"${X11_Xcursor_INCLUDE_PATH}"
|
||||||
"${X11_Xinput_INCLUDE_PATH}")
|
"${X11_Xi_INCLUDE_PATH}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user