Skip to content

Commit

Permalink
cmake: update egl search paths
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseidl committed Jul 20, 2016
1 parent d9a72e4 commit 7e8bf51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/Modules/FindEGL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# EGL_LIBRARY
# EGL_FOUND

find_path(EGL_INCLUDE_DIR NAMES EGL/egl.h PATHS /usr/include/nvidia-361)
find_library(EGL_LIBRARY NAMES egl EGL libEGL PATHS /usr/lib/nvidia-361)
find_path(EGL_INCLUDE_DIR NAMES EGL/egl.h PATHS /usr/include PATH_SUFFIXES nvidia nvidia-367 nvidia-365 nvidia-361)
find_library(EGL_LIBRARY NAMES egl EGL libEGL PATHS /usr/lib64 /usr/lib PATH_SUFFIXES nvidia nvidia-367 nvidia-365 nvidia-361 NO_DEFAULT_PATH)

set(EGL_INCLUDE_DIRS ${EGL_INCLUDE_DIR})
set(EGL_LIBRARIES ${EGL_LIBRARY})
Expand Down

0 comments on commit 7e8bf51

Please sign in to comment.