Added XInput dependency to pkgconfig file.

This commit is contained in:
Camilla Berglund 2013-05-20 13:06:09 +02:00
parent 2b0b031ed7
commit 583c8a8e8e

View File

@ -183,6 +183,7 @@ if (_GLFW_X11)
list(APPEND glfw_INCLUDE_DIRS ${X11_Xinput_INCLUDE_PATH}) list(APPEND glfw_INCLUDE_DIRS ${X11_Xinput_INCLUDE_PATH})
list(APPEND glfw_LIBRARIES ${X11_Xinput_LIB}) list(APPEND glfw_LIBRARIES ${X11_Xinput_LIB})
set(GLFW_PKG_DEPS "${GLFW_PKG_DEPS} xi")
# Check for Xf86VidMode (fallback gamma control) # Check for Xf86VidMode (fallback gamma control)
if (NOT X11_xf86vmode_FOUND) if (NOT X11_xf86vmode_FOUND)