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)