mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
FindOpenGL: Clarify cache entry doc strings on macOS
This commit is contained in:
1 parent
2040b79a39
commit
a13f62427b
1 file changed
+8
-5
@@ -207,11 +207,14 @@ if (WIN32)
|
||||
OPENGL_glu_LIBRARY
|
||||
)
|
||||
elseif (APPLE)
|
||||
# The OpenGL.framework provides both gl and glu
|
||||
find_library(OPENGL_gl_LIBRARY OpenGL DOC "OpenGL library for OS X")
|
||||
find_library(OPENGL_glu_LIBRARY OpenGL DOC
|
||||
"GLU library for OS X (usually same as OpenGL library)")
|
||||
find_path(OPENGL_INCLUDE_DIR OpenGL/gl.h DOC "Include for OpenGL on OS X")
|
||||
# The OpenGL.framework provides both gl and glu in OpenGL
|
||||
# XQuartz provides libgl and libglu
|
||||
find_library(OPENGL_gl_LIBRARY NAMES OpenGL GL DOC
|
||||
"OpenGL GL library")
|
||||
find_library(OPENGL_glu_LIBRARY NAMES OpenGL GLU DOC
|
||||
"OpenGL GLU library")
|
||||
find_path(OPENGL_INCLUDE_DIR NAMES OpenGL/gl.h GL/gl.h DOC
|
||||
"Include for OpenGL")
|
||||
list(APPEND _OpenGL_REQUIRED_VARS OPENGL_INCLUDE_DIR)
|
||||
|
||||
list(APPEND _OpenGL_CACHE_VARS
|
||||
|
||||
Reference in new issue
Block a user