X11: Include X Shape extension headers

Related to #1568.
This commit is contained in:
Camilla Löwy
2020-07-06 23:15:20 +02:00
parent e81d381256
commit 68e4261d73
4 changed files with 12 additions and 2 deletions

View File

@@ -176,6 +176,11 @@ if (_GLFW_X11)
if (NOT X11_Xi_INCLUDE_PATH)
message(FATAL_ERROR "XInput headers not found; install libxi development package")
endif()
# Check for X Shape (custom window input shape)
if (NOT X11_Xshape_INCLUDE_PATH)
message(FATAL_ERROR "X Shape headers not found; install libxext development package")
endif()
endif()
#--------------------------------------------------------------------