Made the X keyboard extension required.

This commit is contained in:
Camilla Berglund
2013-01-07 18:08:07 +01:00
parent 9bfb925d1a
commit be8856af65
4 changed files with 90 additions and 113 deletions
+2 -1
View File
@@ -156,8 +156,9 @@ if (_GLFW_X11)
# Check for Xkb (X keyboard extension)
if (X11_Xkb_FOUND)
set(_GLFW_HAS_XKB 1)
list(APPEND glfw_INCLUDE_DIR ${X11_Xkb_INCLUDE_PATH})
else()
message(FATAL_ERROR "The X keyboard extension was not found")
endif()
find_library(RT_LIBRARY rt)