Clarify why check for XInput
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1325 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
5f34ac1c5a
commit
299a491ae2
@ -228,6 +228,7 @@ IF(UNIX AND NOT ANDROID)
|
|||||||
LIST(APPEND LIBS ${X11_Xxf86vm_LIB})
|
LIST(APPEND LIBS ${X11_Xxf86vm_LIB})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
IF(X11_Xinput_FOUND)
|
IF(X11_Xinput_FOUND)
|
||||||
|
# Needed for multi-touch:
|
||||||
CHECK_INCLUDE_FILES("${X11_Xinput_INCLUDE_PATH}/X11/extensions/XInput2.h" HAVE_X11_EXTENSIONS_XINPUT2_H)
|
CHECK_INCLUDE_FILES("${X11_Xinput_INCLUDE_PATH}/X11/extensions/XInput2.h" HAVE_X11_EXTENSIONS_XINPUT2_H)
|
||||||
LIST(APPEND LIBS ${X11_Xinput_LIB})
|
LIST(APPEND LIBS ${X11_Xinput_LIB})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
Reference in New Issue
Block a user