mirror of
https://github.com/glfw/glfw.git
synced 2024-11-12 17:51:48 +00:00
Clarified CMake X extension error messages.
This commit is contained in:
parent
796978478f
commit
3863a635f2
@ -132,7 +132,7 @@ if (_GLFW_X11)
|
|||||||
|
|
||||||
# Check for XRandR (modern resolution switching and gamma control)
|
# Check for XRandR (modern resolution switching and gamma control)
|
||||||
if (NOT X11_Xrandr_FOUND)
|
if (NOT X11_Xrandr_FOUND)
|
||||||
message(FATAL_ERROR "The RandR extension was not found")
|
message(FATAL_ERROR "The RandR library and headers were not found")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND glfw_INCLUDE_DIRS ${X11_Xrandr_INCLUDE_PATH})
|
list(APPEND glfw_INCLUDE_DIRS ${X11_Xrandr_INCLUDE_PATH})
|
||||||
@ -141,7 +141,7 @@ if (_GLFW_X11)
|
|||||||
|
|
||||||
# Check for Xf86VidMode (fallback gamma control)
|
# Check for Xf86VidMode (fallback gamma control)
|
||||||
if (NOT X11_xf86vmode_FOUND)
|
if (NOT X11_xf86vmode_FOUND)
|
||||||
message(FATAL_ERROR "The Xf86VidMode extension was not found")
|
message(FATAL_ERROR "The Xf86VidMode library and headers were not found")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND glfw_INCLUDE_DIRS ${X11_xf86vmode_INCLUDE_PATH})
|
list(APPEND glfw_INCLUDE_DIRS ${X11_xf86vmode_INCLUDE_PATH})
|
||||||
@ -157,7 +157,7 @@ if (_GLFW_X11)
|
|||||||
|
|
||||||
# Check for Xkb (X keyboard extension)
|
# Check for Xkb (X keyboard extension)
|
||||||
if (NOT X11_Xkb_FOUND)
|
if (NOT X11_Xkb_FOUND)
|
||||||
message(FATAL_ERROR "The X keyboard extension was not found")
|
message(FATAL_ERROR "The X keyboard extension headers were not found")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND glfw_INCLUDE_DIR ${X11_Xkb_INCLUDE_PATH})
|
list(APPEND glfw_INCLUDE_DIR ${X11_Xkb_INCLUDE_PATH})
|
||||||
|
Loading…
Reference in New Issue
Block a user