Skip to content

Commit

Permalink
cmake: Rename variable for libxi to X11_INPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
Orphis committed Jan 21, 2017
1 parent 71ea457 commit 6c197a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -589,7 +589,7 @@ if(USE_X11)
add_definitions(-DHAVE_XRANDR=0)
endif(XRANDR_FOUND)

pkg_check_modules(XINPUT2 REQUIRED xi>=1.5.0)
pkg_check_modules(X11_INPUT REQUIRED xi>=1.5.0)
endif()
if(ENCODE_FRAMEDUMPS)
check_libav()
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/InputCommon/CMakeLists.txt
Expand Up @@ -27,7 +27,7 @@ elseif(APPLE)
elseif(X11_FOUND)
set(SRCS ${SRCS}
ControllerInterface/Xlib/XInput2.cpp)
set(LIBS ${LIBS} ${X11_LIBRARIES} ${XINPUT2_LIBRARIES})
set(LIBS ${LIBS} ${X11_LIBRARIES} ${X11_INPUT_LIBRARIES})
elseif(ANDROID)
add_definitions(-DCIFACE_USE_ANDROID)
set(SRCS ${SRCS}
Expand Down

0 comments on commit 6c197a8

Please sign in to comment.