cmake: Rename variable for libxi to X11_INPUT

This commit is contained in:
Florent Castelli 2017-01-21 02:35:46 +01:00
parent 71ea457874
commit 6c197a8f6a
2 changed files with 2 additions and 2 deletions

View File

@ -589,7 +589,7 @@ if(USE_X11)
add_definitions(-DHAVE_XRANDR=0) add_definitions(-DHAVE_XRANDR=0)
endif(XRANDR_FOUND) endif(XRANDR_FOUND)
pkg_check_modules(XINPUT2 REQUIRED xi>=1.5.0) pkg_check_modules(X11_INPUT REQUIRED xi>=1.5.0)
endif() endif()
if(ENCODE_FRAMEDUMPS) if(ENCODE_FRAMEDUMPS)
check_libav() check_libav()

View File

@ -27,7 +27,7 @@ elseif(APPLE)
elseif(X11_FOUND) elseif(X11_FOUND)
set(SRCS ${SRCS} set(SRCS ${SRCS}
ControllerInterface/Xlib/XInput2.cpp) ControllerInterface/Xlib/XInput2.cpp)
set(LIBS ${LIBS} ${X11_LIBRARIES} ${XINPUT2_LIBRARIES}) set(LIBS ${LIBS} ${X11_LIBRARIES} ${X11_INPUT_LIBRARIES})
elseif(ANDROID) elseif(ANDROID)
add_definitions(-DCIFACE_USE_ANDROID) add_definitions(-DCIFACE_USE_ANDROID)
set(SRCS ${SRCS} set(SRCS ${SRCS}