summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-04-17 10:17:15 -0400
committerBrad King <brad.king@kitware.com>2019-04-17 10:17:15 -0400
commitc648551bea65c6457f21b608f31c4ccd5b69a0fa (patch)
treeb572276e3413b0fc3cc93900d94fa60b82a93fea
parent09fba6146fa726a83cbbccc3d5fb288f7f14f111 (diff)
parent844050adaf4ff28356a14b34d3ec73f36e843339 (diff)
downloadcmake-c648551bea65c6457f21b608f31c4ccd5b69a0fa.tar.gz
Merge branch 'FindOpenGL-libglvnd-subdir' into release-3.14
Merge-request: !3236
-rw-r--r--Modules/FindOpenGL.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index 832dca2749..00db033d3f 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -205,11 +205,13 @@ else()
find_library(OPENGL_glx_LIBRARY
NAMES GLX
PATHS ${_OPENGL_LIB_PATH}
+ PATH_SUFFIXES libglvnd
)
find_library(OPENGL_egl_LIBRARY
NAMES EGL
PATHS ${_OPENGL_LIB_PATH}
+ PATH_SUFFIXES libglvnd
)
find_library(OPENGL_glu_LIBRARY
@@ -264,6 +266,7 @@ else()
/usr/openwin/lib
/usr/shlib
${_OPENGL_LIB_PATH}
+ PATH_SUFFIXES libglvnd
)
endif()