mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
X11: Add dynamic loading of libXcursor
This commit is contained in:
+1
-3
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user