From 583c8a8e8eb434d07890a7eff3ec0934aa9a08dd Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 20 May 2013 13:06:09 +0200 Subject: [PATCH] Added XInput dependency to pkgconfig file. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index af8b0787..2da86f15 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,6 +183,7 @@ if (_GLFW_X11) list(APPEND glfw_INCLUDE_DIRS ${X11_Xinput_INCLUDE_PATH}) list(APPEND glfw_LIBRARIES ${X11_Xinput_LIB}) + set(GLFW_PKG_DEPS "${GLFW_PKG_DEPS} xi") # Check for Xf86VidMode (fallback gamma control) if (NOT X11_xf86vmode_FOUND)