projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
151cec6
)
Clarify why check for XInput
author
Sylvain Beucler
<beuc@beuc.net>
Tue, 29 May 2012 18:33:22 +0000
(18:33 +0000)
committer
Sylvain Beucler
<beuc@beuc.net>
Tue, 29 May 2012 18:33:22 +0000
(18:33 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1325
7f0cb862
-5218-0410-a997-
914c9d46530a
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
c7d9c14
..
fc22ed6
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-228,6
+228,7
@@
IF(UNIX AND NOT ANDROID)
LIST(APPEND LIBS ${X11_Xxf86vm_LIB})
ENDIF()
IF(X11_Xinput_FOUND)
+ # Needed for multi-touch:
CHECK_INCLUDE_FILES("${X11_Xinput_INCLUDE_PATH}/X11/extensions/XInput2.h" HAVE_X11_EXTENSIONS_XINPUT2_H)
LIST(APPEND LIBS ${X11_Xinput_LIB})
ENDIF()