1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-30 05:58:52 -05:00
glfw/CMake/modules/FindEGL.cmake

17 lines
350 B
CMake
Raw Normal View History

2012-04-25 00:57:21 -04:00
# Find EGL
#
# EGL_INCLUDE_DIR
# EGL_LIBRARY
# EGL_FOUND
2012-07-19 16:14:08 -04:00
find_path(EGL_INCLUDE_DIR NAMES EGL/egl.h)
2012-04-25 00:57:21 -04:00
2012-07-19 16:14:08 -04:00
set(EGL_NAMES ${EGL_NAMES} egl EGL)
find_library(EGL_LIBRARY NAMES ${EGL_NAMES})
2012-04-25 00:57:21 -04:00
2012-07-19 16:14:08 -04:00
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(EGL DEFAULT_MSG EGL_LIBRARY EGL_INCLUDE_DIR)
mark_as_advanced(EGL_INCLUDE_DIR EGL_LIBRARY)
2012-04-25 00:57:21 -04:00