mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
Merge topic 'FindOpenGL-clarify-output'
3a3ecef473 FindOpenGL: Fix confusing output with CMP0072 and OpenGL preference
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7604
This commit is contained in:
@@ -377,7 +377,7 @@ else()
|
||||
(NOT OPENGL_USE_EGL AND
|
||||
NOT OPENGL_glx_LIBRARY AND
|
||||
OPENGL_gl_LIBRARY))
|
||||
list(APPEND _OpenGL_REQUIRED_VARS OPENGL_gl_LIBRARY)
|
||||
list(PREPEND _OpenGL_REQUIRED_VARS OPENGL_gl_LIBRARY)
|
||||
endif()
|
||||
|
||||
# We always need the 'gl.h' include dir.
|
||||
|
||||
Reference in New Issue
Block a user