X11: Add dynamic loading of libXcursor

This commit is contained in:
Camilla Löwy
2017-08-16 20:54:14 +02:00
parent 3f852c321f
commit 99e72830ea
3 changed files with 35 additions and 3 deletions
+1 -3
View File
@@ -266,12 +266,10 @@ if (_GLFW_X11)
# Check for Xcursor
if (NOT X11_Xcursor_FOUND)
message(FATAL_ERROR "The Xcursor libraries and headers were not found")
message(FATAL_ERROR "The Xcursor headers were not found")
endif()
list(APPEND glfw_INCLUDE_DIR "${X11_Xcursor_INCLUDE_PATH}")
list(APPEND glfw_LIBRARIES "${X11_Xcursor_LIB}")
list(APPEND glfw_PKG_DEPS "xcursor")
endif()