mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 05:22:00 +00:00
Add FindEGL.cmake module
This commit is contained in:
parent
778a76683a
commit
27a7cc5aa8
15
CMake/modules/FindEGL.cmake
Normal file
15
CMake/modules/FindEGL.cmake
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Find EGL
|
||||||
|
#
|
||||||
|
# EGL_INCLUDE_DIR
|
||||||
|
# EGL_LIBRARY
|
||||||
|
# EGL_FOUND
|
||||||
|
|
||||||
|
FIND_PATH(EGL_INCLUDE_DIR NAMES EGL/egl.h)
|
||||||
|
|
||||||
|
SET(EGL_NAMES ${EGL_NAMES} egl EGL)
|
||||||
|
FIND_LIBRARY(EGL_LIBRARY NAMES ${EGL_NAMES})
|
||||||
|
|
||||||
|
INCLUDE(FindPackageHandleStandardArgs)
|
||||||
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(EGL DEFAULT_MSG EGL_LIBRARY EGL_INCLUDE_DIR)
|
||||||
|
|
||||||
|
MARK_AS_ADVANCED(EGL_INCLUDE_DIR EGL_LIBRARY)
|
Loading…
Reference in New Issue
Block a user