mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Added workaround for CMake bug 0006976.
This commit is contained in:
parent
29d38c3b64
commit
c175084e13
@ -73,6 +73,14 @@ if (UNIX AND NOT APPLE)
|
||||
if (X11_xf86vmode_FOUND)
|
||||
set(_GLFW_HAS_XF86VIDMODE 1)
|
||||
list(APPEND GLFW_INCLUDE_DIR ${X11_xf86vmode_INCLUDE_PATH})
|
||||
|
||||
# NOTE: This is a workaround for CMake bug 0006976 (missing
|
||||
# X11_xf86vmode_LIB variable)
|
||||
if (X11_xf86vmode_LIB)
|
||||
list(APPEND GLFW_LIBRARIES ${X11_xf86vmode_LIB})
|
||||
else()
|
||||
list(APPEND GLFW_LIBRARIES Xxf86vm)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Check for Xkb (X keyboard extension)
|
||||
|
Loading…
Reference in New Issue
Block a user