2011-11-29 01:47:52 +01:00
|
|
|
# Try to find the EGL librairy
|
|
|
|
# EGL_FOUND - system has EGL
|
|
|
|
# EGL_INCLUDE_DIR - the EGL include directory
|
|
|
|
# EGL_LIBRARY - the EGL library
|
|
|
|
|
2011-12-29 19:18:12 +01:00
|
|
|
FIND_PATH(EGL_INCLUDE_DIR NAMES EGL/egl.h)
|
2011-11-29 01:47:52 +01:00
|
|
|
FIND_LIBRARY(EGL_LIBRARY NAMES EGL)
|
|
|
|
INCLUDE(FindPackageHandleStandardArgs)
|
|
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(EGL DEFAULT_MSG EGL_LIBRARY EGL_INCLUDE_DIR)
|
|
|
|
MARK_AS_ADVANCED(EGL_LIBRARY EGL_INCLUDE_DIR)
|