Commit 3a0ed04e authored by Andrew Bauer's avatar Andrew Bauer Committed by Kitware Robot

Merge topic 'find_EGL'

3ffe6bfb Improving finding libGLdispatch.so.0 for EGL
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Dan Lipsa's avatarDan Lipsa <dan.lipsa@kitware.com>
Reviewed-by: Utkarsh Ayachit's avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Merge-request: !1268
parents c458a35b 3ffe6bfb
......@@ -72,6 +72,15 @@ if(NOT EGL_gldispatch_LIBRARY)
/usr/lib
)
endif()
# For the NVIDIA 358 drivers there isn't a libGLdispath.so. The
# proper one gets installed as libGLdispatch.so.0.
if(NOT EGL_gldispatch_LIBRARY)
find_library(EGL_gldispatch_LIBRARY libGLdispatch.so.0 PATHS
/usr/local/lib
/usr/lib
)
endif()
endif()
set(EGL_LIBRARIES ${EGL_LIBRARY} ${EGL_opengl_LIBRARY} ${EGL_gldispatch_LIBRARY})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment